|
|||||||||
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.iiop.AdaptorServerImpl
The AdaptorServerImpl
class implements the IIOP adaptor server.
The implementation is provided as an m-bean. Therefore the class can
be dynamically instantiated at any time by a Java Dynamic Management agent.
Once the class is instantiated, the Java Dynamic Management agent can be controlled
and managed through an AdaptorClient
IIOP adaptor client.
When instantiating the object, it is possible to specify the service name, the host on which the CORBA naming service in running and the port used by the CORBA naming service. The following properties must be specified in the object name:
domain:com.sun.jaw.reference.adaptor.iiop.AdaptorServerImpl.host=sky,port=9999
AdaptorMO
,
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.Integer |
getPort()
Returns the iiop port number used by this adaptor |
java.lang.String |
getProtocol()
Returns the name of the protocol (iiop). |
java.lang.String |
getServiceName()
Returns the service name of this IIOP 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,
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 IIOP 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.Integer getPort()
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 |