com.tivoli.jmx.connector
Class ConnectorServer

com.tivoli.jmx.connector.ConnectorServer
Direct Known Subclasses:
RmiConnectorServer

public abstract class ConnectorServer
implements ConnectorServerMBean

ConnectorServer.java

Version:
1.1
Author:
Ward Harold

Field Summary
protected  boolean active
           
protected  javax.management.MBeanServer mbeanServer
           
protected  javax.management.ObjectName serverName
           
 
Constructor Summary
protected ConnectorServer()
          Create a new ConnectorServer instance.
 
Method Summary
 boolean isActive()
          Determine whether or not the connector server is active.
static ConnectorServer newInstance(java.lang.String serverClass)
          Create a new instace of a protocol specifc connector server.
 javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name)
          Pre registration call back for all connector servers.
 

Field Detail

mbeanServer

protected transient javax.management.MBeanServer mbeanServer

active

protected transient boolean active

serverName

protected transient javax.management.ObjectName serverName
Constructor Detail

ConnectorServer

protected ConnectorServer()
Create a new ConnectorServer instance.
Method Detail

isActive

public boolean isActive()
Determine whether or not the connector server is active.
Returns:
boolean

newInstance

public static ConnectorServer newInstance(java.lang.String serverClass)
Create a new instace of a protocol specifc connector server.
Parameters:
type - java.lang.String
Returns:
com.tivoli.jmx.connector.ConnectorServer

preRegister

public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
                                               javax.management.ObjectName name)
                                        throws java.lang.Exception
Pre registration call back for all connector servers. Records the reference of the MBeanServer with which the connector server is being registered.
Parameters:
name - javax.management.ObjectName
server - javax.management.MBeanServer
Returns:
javax.management.ObjectName