All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.adaptor.rmi.AdaptorServerImpl
java.lang.Object
|
+----com.sun.jaw.impl.adaptor.generic.AdaptorServer
|
+----com.sun.jaw.impl.adaptor.rmi.AdaptorServerImpl
- public class AdaptorServerImpl
- extends AdaptorServer
The AdaptorServerImpl class provides an implementation of the
AdaptorServer interface.
When creating the adaptor server, it is possible to specify the port number and
service name to be used. To do so, in the object name you need to specify the
following properties:
- service for specifying the service name (by default com.sun.jaw.impl.adaptor.rmi.AdaptorServer).
- port for specifying the port number (by default 1099).
For instance, if you want to use port 44450, you can specify the following object name:
service:com.sun.jaw.reference.adaptor.AdaptorMO.port=44450,protocol=rmi
- See Also:
- AdaptorMO, AdaptorServer, AdaptorClient
-
AdaptorServerImpl()
- Default constructor for AdaptorServerImpl.
-
getClassVersion()
- Returns the version of this class.
-
getDomain()
- Returns the value of the framework's domain.
-
getProtocol()
- Returns the name of the protocol (rmi).
-
getServiceName()
- Returns the service name of this RMI object.
-
initCmf(Framework, ObjectName, boolean, ModificationList)
- For Java DMK internal use only.
AdaptorServerImpl
public AdaptorServerImpl()
- Default constructor for AdaptorServerImpl.
initCmf
public void initCmf(Framework f,
ObjectName name,
boolean db,
ModificationList list) throws InstanceAlreadyExistException
- For Java DMK internal use only.
Initializes the RMI adaptor server and registers it with the core management framework.
- Parameters:
- f - The core management framework to register the service with.
- name - Object name.
- db - Indicates if persistent storage is required.
- list - The modification list to use for setting up parameters.
- Throws: InstanceAlreadyExistException
- The m-bean is already registered in the repository.
- Overrides:
- initCmf in class AdaptorServer
getClassVersion
public String getClassVersion()
- Returns the version of this class.
getServiceName
public String getServiceName()
- Returns the service name of this RMI object.
getProtocol
public String getProtocol()
- Returns the name of the protocol (rmi).
- Overrides:
- getProtocol in class AdaptorServer
getDomain
public String getDomain()
- Returns the value of the framework's domain.
All Packages Class Hierarchy This Package Previous Next Index