mx4j.tools.remote
public abstract class AbstractJMXConnectorServer extends JMXConnectorServer
Version: $Revision: 1.8 $
See Also: ConnectionManager
Constructor Summary | |
---|---|
AbstractJMXConnectorServer(JMXServiceURL url, Map environment, MBeanServer server) |
Method Summary | |
---|---|
void | connectionClosed(String connectionId, String message, Object userData) |
void | connectionFailed(String connectionId, String message, Object userData) |
void | connectionOpened(String connectionId, String message, Object userData) |
protected abstract void | doStart()
Template method implemented by subclasses to start this JMXConnectorServer |
protected abstract void | doStop()
Template method implemented by subclasses to stop this JMXConnectorServer |
JMXServiceURL | getAddress() |
Map | getAttributes() |
protected Map | getEnvironment()
Returns the environment Map as is, without removing non-serializable entries like AbstractJMXConnectorServer does. |
protected Logger | getLogger() |
boolean | isActive() |
protected boolean | isStopped()
Returns whether the AbstractJMXConnectorServer method of this JMXConnectorServer has been called. |
protected void | setAddress(JMXServiceURL url)
Sets the JMXServiceURL that represent the address of this JMXConnectorServer |
void | start() |
void | stop() |