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

Constructor Index

 o RemoteAgent()
Default constructor
 o 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.

Method Index

 o deleteCmf()
Unregister all the objects cascaded by the remote agent.
 o getAdpName()
Getter for the "AdpName" property.
 o getClassVersion()
Returns the version of this class.
 o getConnected()
Getter for the "Connected" property.
 o getHost()
Getter for the "Host" property.
 o getMOFactory()
Getter for the "MOFactory" property.
 o getNbOfRemoteObjects()
Getter for the "NbOfRemoteObjects" property.
 o getPort()
Getter for the "Port" property.
 o getProtocol()
Getter for the "Protocol" property.
 o getServerAdpName()
Getter for the "ServerAdpName" property.
 o handleFrameworkEvent(FrameworkEventMO)
 o initCmf(Framework, ObjectName, boolean, ModificationList)
Initializes the adaptor server.
 o isActive()
Test if the RemoteAgent is active.
 o performSetup(Object)
Configures the Adaptor.
 o performStart()
Activates the RemoteAgent service.
 o performStop()
Deactivates the RemoteAgent service.
 o setServerAdpName(String)
Setter for the "ServerAdpName" property.

Constructors

 o RemoteAgent
 public RemoteAgent()
Default constructor

 o 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

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o setServerAdpName
 public void setServerAdpName(String servName)
Setter for the "ServerAdpName" property. The method is compliant with the Bean design pattern.

 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o handleFrameworkEvent
 public void handleFrameworkEvent(FrameworkEventMO ev)
 o deleteCmf
 public void deleteCmf()
Unregister all the objects cascaded by the remote agent.

 o performSetup
 public void performSetup(Object param)
Configures the Adaptor.

Parameters:
param - Parameters to be set.
 o performStart
 public synchronized void performStart()
Activates the RemoteAgent service.

 o performStop
 public synchronized void performStop()
Deactivates the RemoteAgent service.

 o isActive
 public boolean isActive()
Test if the RemoteAgent is active.

 o getClassVersion
 public String getClassVersion()
Returns the version of this class.


All Packages  Class Hierarchy  This Package  Previous  Next  Index