javax.management.remote.rmi
Class RMIConnectorServer

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by javax.management.remote.JMXConnectorServer
          extended by javax.management.remote.rmi.RMIConnectorServer
All Implemented Interfaces:
MBeanRegistration, NotificationBroadcaster, NotificationEmitter, JMXConnectorServerMBean

public class RMIConnectorServer
extends JMXConnectorServer

Author:
Tom Elrod

Field Summary
static String JNDI_REBIND_ATTRIBUTE
           
protected static Logger log
           
static String RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE
           
static String RMI_SERVER_SOCKET_FACTORY_ATTRIBUTE
           
 
Fields inherited from class javax.management.remote.JMXConnectorServer
AUTHENTICATOR
 
Constructor Summary
RMIConnectorServer(JMXServiceURL url, Map environment)
           
RMIConnectorServer(JMXServiceURL url, Map environment, MBeanServer mbeanServer)
           
RMIConnectorServer(JMXServiceURL url, Map environment, RMIServerImpl rmiServerImpl, MBeanServer mbeanServer)
           
 
Method Summary
protected  void connectionClosed(String connectionId, String message, Object userData)
           
protected  void connectionFailed(String connectionId, String message, Object userData)
           
protected  void connectionOpened(String connectionId, String message, Object userData)
           
 JMXServiceURL getAddress()
           
 Map getAttributes()
           
 boolean isActive()
           
 void start()
           
 void stop()
           
 JMXConnector toJMXConnector(Map env)
           
 
Methods inherited from class javax.management.remote.JMXConnectorServer
getConnectionIds, getMBeanServer, getNotificationInfo, postDeregister, postRegister, preDeregister, preRegister, setMBeanServerForwarder
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_REBIND_ATTRIBUTE

public static final String JNDI_REBIND_ATTRIBUTE
See Also:
Constant Field Values

RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE

public static final String RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE
See Also:
Constant Field Values

RMI_SERVER_SOCKET_FACTORY_ATTRIBUTE

public static final String RMI_SERVER_SOCKET_FACTORY_ATTRIBUTE
See Also:
Constant Field Values

log

protected static Logger log
Constructor Detail

RMIConnectorServer

public RMIConnectorServer(JMXServiceURL url,
                          Map environment)
                   throws IOException
Throws:
IOException

RMIConnectorServer

public RMIConnectorServer(JMXServiceURL url,
                          Map environment,
                          MBeanServer mbeanServer)
                   throws IOException
Throws:
IOException

RMIConnectorServer

public RMIConnectorServer(JMXServiceURL url,
                          Map environment,
                          RMIServerImpl rmiServerImpl,
                          MBeanServer mbeanServer)
                   throws IOException
Throws:
IOException
Method Detail

toJMXConnector

public JMXConnector toJMXConnector(Map env)
                            throws IOException
Specified by:
toJMXConnector in interface JMXConnectorServerMBean
Overrides:
toJMXConnector in class JMXConnectorServer
Throws:
IOException

start

public void start()
           throws IOException
Throws:
IOException

stop

public void stop()
          throws IOException
Throws:
IOException

isActive

public boolean isActive()

getAddress

public JMXServiceURL getAddress()
Specified by:
getAddress in interface JMXConnectorServerMBean
Overrides:
getAddress in class JMXConnectorServer

getAttributes

public Map getAttributes()
Specified by:
getAttributes in interface JMXConnectorServerMBean
Overrides:
getAttributes in class JMXConnectorServer

connectionOpened

protected void connectionOpened(String connectionId,
                                String message,
                                Object userData)
Overrides:
connectionOpened in class JMXConnectorServer

connectionClosed

protected void connectionClosed(String connectionId,
                                String message,
                                Object userData)
Overrides:
connectionClosed in class JMXConnectorServer

connectionFailed

protected void connectionFailed(String connectionId,
                                String message,
                                Object userData)
Overrides:
connectionFailed in class JMXConnectorServer


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.