在最简单的情况下,可以用Springjmx以mbeanexporter类注册对象。
At its simplest, you can use Spring JMX to register objects using the MBeanExporter class.
获得了StorageComp对象的句柄后,我们使用它将新类注册为ServerStorage服务的侦听器。
After we have the handle to the StorageComp object, we use it to register the new class as a listener for the Server Storage service.
注意,因为未向窗口类应用版本,所以将应用窗口类注册的常用规则,即:只有第一个注册窗口类的组件才能注册它。
Note that the usual rules about window class registration apply: only the first component that registers the window class will be able to register it, because it does not have a version applied to it.
action类注册了Struts配置,因此在获得由AuthServlet重定向的请求之后,将调用 action 类。
The action class is the one that is registered with the Struts configuration and therefore called when a request is received after it is redirected by the AuthServlet.
加载了spring上下文之后,您可以使用apachewink提供的or g . apache . wink . spring .registrar类注册资源和提供者。
When the spring context has been loaded, you can register resources and providers using the org.apache.wink.spring.Registrar class that apache wink provides.
它是更为复杂的代码,要求扩展类才能注册事件侦听程序。
It's more complicated code that requires extending a class to register an event listener.
最近一次注册类世博会是2005年日本爱知世博会。
The recent Registered International Exhibition is Expo 2005 Aichi Japan .
按照这些步骤注册并激活这个类。
在本例中,您创建了一个新的名称为RssHandler的类,并将它注册为解析器的处理程序,如清单6所示。
In this case, you have created a new class called RssHandler and registered it as the handler for the parser, as in Listing 6.
要做到这些,我们需要在应用的hibernate目录增加如下的hibernate . cfg . xml文件,注册这些类。
To do so, we'll register these classes by adding the following hibernate.cfg.xml file to the hibernate directory of our application.
将资源和提供程序注册为类或Springbeans。
Registering resources and providers as classes or Spring beans.
infoFactory 拥有的方法允许类来注册感兴趣的属性和操作。
The infoFactory class has methods that allow your class to register interesting attributes and operations.
清单3显示了如何将这个受管bean注册到inventory类。
Listing 3 shows how to register the managed bean to the Inventory class.
代码清单10显示了Spring注册helper类。
它初始化gobject和trayicon模块,然后向Python注册这些类。
It initializes GObject and the trayicon module, and then registers the classes with Python.
第一种选择使用(比如)arcmind. PhoneConverter的id来注册PhoneConverter类。
The first option is to register the PhoneConverter class with the id of (for example) arcmind.PhoneConverter.
您可以创建类并将其注册为osgi服务和Web服务。
You can create a class and register it as OSGi service and as a Web service.
Activator类设置服务属性并注册服务。
The Activator class sets the service properties and registers the service.
您创建的新action类需要注册到Struts配置。
The new action class that you created needs to be registered with the Struts configuration.
在每一个服务器上注册这个类。
任何服务提供者都可以把自己注册到一个服务注册表,而协议提供者会与提供服务的提供者类一起注册。
Any service provider can register itself into a service registry and the protocol provider will be registered along with the provider classes that provide the service.
从该域确认器类中,您可以实现并注册您自己的单元和属性确认器。
From this domain validator class, you can instantiate and register your own unit and attribute validators.
注意,不必要注册类的全部公共属性和方法——可以从中选择想向容器公开的那些公共属性和方法。
Notice that you're never required to register all the public properties or methods of the class — you can choose which ones you want to expose to the container.
UDDI响应类表示来自 UDDI注册中心的响应。
The UDDI response classes represent the responses from the UDDI registry.
在客户端,只注册这个新类,不需要注册两个类。
On the client side, you just register the new class instead of both of the classes.
UDDI基类构成了UDDI注册中心存储的通用数据结构。
The UDDI base classes form the general data structures that the UDDI registry stores.
这个类可以通过服务注册中心提供的接口,端点地址和绑定信息创建一个服务代理。
This class allows creating a service proxy based on the interface and endpoint address and binding, which are built using information provided by the registry service.
UDDI请求类直接映射到 UDDI 2.0注册中心提供的API。
The UDDI request classes map directly onto the APIs that a UDDI 2.0 registry provides.
提供UDDI4J作为类库支持与uddi注册中心进行交互。
UDDI4J is provided as a class library to provide support to interact with a UDDI registry.
如果调用registry.getComponent() 成功,则这次调用会返回对应类的已注册对象,否则就返回一个错误值以允许进行测试。
The call to registry.getComponent() returns the registered object of the appropriate class if it can; otherwise, it returns a false value to allow testing.
应用推荐