|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.impl.adaptor.generic.AdaptorServer | +--com.sun.jaw.impl.adaptor.rmi.AdaptorServerImpl
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:
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
AdaptorMO
,
AdaptorServer
,
AdaptorClient
, Serialized FormFields inherited from class com.sun.jaw.impl.adaptor.generic.AdaptorServer |
cmf,
maxActiveClientCount,
objectName,
OFFLINE,
ONLINE,
port,
STARTING,
state,
STOPPING |
Constructor Summary | |
AdaptorServerImpl()
Default constructor for AdaptorServerImpl. |
Method Summary | |
java.lang.String |
getClassVersion()
Returns the version of this class. |
java.lang.String |
getDomain()
Returns the value of the framework's domain. |
java.lang.String |
getProtocol()
Returns the name of the protocol (rmi). |
java.lang.String |
getServiceName()
Returns the service name of this RMI object. |
void |
initCmf(Framework f,
ObjectName name,
boolean db,
ModificationList list)
For Java DMK internal use only. |
Methods inherited from class com.sun.jaw.impl.adaptor.generic.AdaptorServer |
addAdaptorListener,
deleteCmf,
getActiveClientCount,
getMaxActiveClientCount,
getPort,
getServedClientCount,
getState,
getStateString,
isActive,
performStart,
performStop,
performWaitState,
removeAdaptorListener,
setMaxActiveClientCount |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AdaptorServerImpl()
Method Detail |
public void initCmf(Framework f, ObjectName name, boolean db, ModificationList list) throws InstanceAlreadyExistException
Initializes the RMI adaptor server and registers it with the core management framework.
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.public java.lang.String getClassVersion()
public java.lang.String getServiceName()
public java.lang.String getProtocol()
public java.lang.String getDomain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |