API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.remote.rmi. RMIConnectorServer View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      NotificationBroadcasterSupport
          JMXConnectorServer
              RMIConnectorServer
Implements
Subclasses
Description
public class RMIConnectorServer
  A JMX API connector server that creates RMI-based connections from remote clients.
See also:   
Constructors
public RMIConnectorServer (JMXServiceURL url, Map<String, Object> environment) throws IOException
  Makes an RMIConnectorServer.
public RMIConnectorServer (JMXServiceURL url, Map<String, Object> environment, MBeanServer mbeanServer) throws IOException
  Makes an RMIConnectorServer for the given MBean server.
public RMIConnectorServer (JMXServiceURL url, Map<String, Object> environment, RMIServerImpl rmiServerImpl, MBeanServer mbeanServer) throws IOException
  Makes an RMIConnectorServer for the given MBean server.
Methods
Hide/Show inherited methods
public void addNotificationListener (NotificationListener listener, NotificationFilter filter, Object handback) [Inherited From NotificationBroadcasterSupport]
  Adds a listener.
pack-private void bind (String jndiUrl, Hashtable attributes, RMIServer rmiServer, boolean rebind) throws NamingException MalformedURLException
  Bind a stub to a registry.
protected void connectionClosed (String connectionId, String message, Object userData) [Overrides JMXConnectorServer]
protected void connectionFailed (String connectionId, String message, Object userData) [Overrides JMXConnectorServer]
protected void connectionOpened (String connectionId, String message, Object userData) [Overrides JMXConnectorServer]
pack-privatestatic String encodeIIOPStub (RMIServer rmiServer, Map env) throws IOException
pack-privatestatic String encodeJRMPStub (RMIServer rmiServer, Map env) throws IOException
pack-privatestatic String encodeStub (RMIServer rmiServer, Map env) throws IOException
Returns the IOR of the given rmiServer.
public JMXServiceURL getAddress ()
public Map<String, Object> getAttributes ()
public String getConnectionIds () [Inherited From JMXConnectorServer]
publicsynchronized MBeanServer getMBeanServer () [Inherited From JMXConnectorServer]
  Returns the MBean server that this connector server is attached to.
public MBeanNotificationInfo getNotificationInfo () [Inherited From JMXConnectorServer]
  Returns an array indicating the notifications that this MBean sends.
protected void handleNotification (NotificationListener listener, Notification notif, Object handback) [Inherited From NotificationBroadcasterSupport]
  This method is called by sendNotification for each listener in order to send the notification to that listener.
publicsynchronized boolean isActive ()
pack-privatestatic boolean isIiopURL (JMXServiceURL directoryURL, boolean strict) throws MalformedURLException
pack-private RMIServerImpl newServer () throws IOException
Creates a new RMIServerImpl.
public void postDeregister () [Inherited From JMXConnectorServer]
public void postRegister (Boolean registrationDone) [Inherited From JMXConnectorServer]
publicsynchronized void preDeregister () throws Exception [Inherited From JMXConnectorServer]
  Called by an MBean server when this connector server is unregistered from that MBean server.
publicsynchronized ObjectName preRegister (MBeanServer mbs, ObjectName name) [Inherited From JMXConnectorServer]
  Called by an MBean server when this connector server is registered in that MBean server.
public void removeNotificationListener (NotificationListener listener) throws ListenerNotFoundException [Inherited From NotificationBroadcasterSupport]
public void removeNotificationListener (NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException [Inherited From NotificationBroadcasterSupport]
public void sendNotification (Notification notification) [Inherited From NotificationBroadcasterSupport]
  Sends a notification.
publicsynchronized void setMBeanServerForwarder (MBeanServerForwarder mbsf) [Overrides JMXConnectorServer]
publicsynchronized void start () throws IOException
  Activates the connector server, that is starts listening for client connections.
public void stop () throws IOException
  Deactivates the connector server, that is, stops listening for client connections.
public JMXConnector toJMXConnector (Map<String, Object> env) throws IOException [Overrides JMXConnectorServer]
  Returns a client stub for this connector server.
Fields
Hide/Show inherited fields
publicfinalstatic String AUTHENTICATOR = "jmx.remote.authenticator" [Inherited From JMXConnectorServer]
  Name of the attribute that specifies the authenticator for a connector server.
publicfinalstatic String JNDI_REBIND_ATTRIBUTE = "jmx.remote.jndi.rebind"
  Name of the attribute that specifies whether the RMIServer stub that represents an RMI connector server should override an existing stub at the same address.
publicfinalstatic String RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE = "jmx.remote.rmi.client.socket.factory"
  Name of the attribute that specifies the RMIClientSocketFactory for the RMI objects created in conjunction with this connector.
publicfinalstatic String RMI_SERVER_SOCKET_FACTORY_ATTRIBUTE = "jmx.remote.rmi.server.socket.factory"
  Name of the attribute that specifies the RMIServerSocketFactory for the RMI objects created in conjunction with this connector.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar