All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.agent.services.cascading.RemoteAgent
java.lang.Object
|
+----com.sun.jaw.impl.agent.services.cascading.RemoteAgent
- public class RemoteAgent
- extends Object
- implements Serializable, FrameworkListenerMO, ActivatableIf
-
RemoteAgent()
-
Default constructor
-
RemoteAgent(String, String, String, int)
- In order to initialize the agent, implementation names of the
different services required by the Common Management Framework
must be provided.
-
deleteCmf()
- Unregister all the objects cascaded by the remote agent.
-
getAdpName()
- Getter for the "AdpName" property.
-
getClassVersion()
- Returns the version of this class.
-
getConnected()
- Getter for the "Connected" property.
-
getHost()
- Getter for the "Host" property.
-
getMOFactory()
- Getter for the "MOFactory" property.
-
getNbOfRemoteObjects()
- Getter for the "NbOfRemoteObjects" property.
-
getPort()
- Getter for the "Port" property.
-
getProtocol()
- Getter for the "Protocol" property.
-
getServerAdpName()
- Getter for the "ServerAdpName" property.
-
handleFrameworkEvent(FrameworkEventMO)
-
-
initCmf(Framework, ObjectName, boolean, ModificationList)
- Initializes the adaptor server.
-
isActive()
- Test if the
RemoteAgent is active.
-
performSetup(Object)
- Configures the Adaptor.
-
performStart()
- Activates the
RemoteAgent service.
-
performStop()
- Deactivates the
RemoteAgent service.
-
setServerAdpName(String)
- Setter for the "ServerAdpName" property.
RemoteAgent
public RemoteAgent()
- Default constructor
RemoteAgent
public RemoteAgent(String host,
String adpName,
String protocol,
int port)
- In order to initialize the agent, implementation names of the
different services required by the Common Management Framework
must be provided.
- Parameters:
- host - name of the host of the remote agent
- adpName - name of the client adaptor to connect to the remote agent
- protocol - the connection protocol
- port - the connection port number
initCmf
public void initCmf(Framework cmf,
ObjectName name,
boolean db,
ModificationList list) throws InstanceAlreadyExistException
- Initializes the adaptor server.
The method declares the object to the common management framework.
For internal use only.
- Parameters:
- agent - The core management framework to register the service with.
- name - Object name containing configuration information.
- 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.
getMOFactory
public AdaptorMO getMOFactory()
- Getter for the "MOFactory" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "MOFactory" property.
getHost
public String getHost()
- Getter for the "Host" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "Host" property.
getAdpName
public String getAdpName()
- Getter for the "AdpName" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "AdpName" property.
setServerAdpName
public void setServerAdpName(String servName)
- Setter for the "ServerAdpName" property. The method
is compliant with the Bean design pattern.
getServerAdpName
public String getServerAdpName()
- Getter for the "ServerAdpName" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "ServerAdpName" property.
getProtocol
public String getProtocol()
- Getter for the "Protocol" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "Protocol" property.
getPort
public Integer getPort()
- Getter for the "Port" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "Port" property.
getConnected
public Boolean getConnected()
- Getter for the "Connected" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "Connected" property.
getNbOfRemoteObjects
public Integer getNbOfRemoteObjects()
- Getter for the "NbOfRemoteObjects" property. The method
is compliant with the Bean design pattern.
- Returns:
- the current value of the "NbOfRemoteObjects" property.
handleFrameworkEvent
public void handleFrameworkEvent(FrameworkEventMO ev)
deleteCmf
public void deleteCmf()
- Unregister all the objects cascaded by the remote agent.
performSetup
public void performSetup(Object param)
- Configures the Adaptor.
- Parameters:
- param - Parameters to be set.
performStart
public synchronized void performStart()
- Activates the
RemoteAgent service.
performStop
public synchronized void performStop()
- Deactivates the
RemoteAgent service.
isActive
public boolean isActive()
- Test if the
RemoteAgent is active.
getClassVersion
public String getClassVersion()
- Returns the version of this class.
All Packages Class Hierarchy This Package Previous Next Index