javax.management.remote.rmi
Class RMIConnector

java.lang.Object
  extended by javax.management.remote.rmi.RMIConnector
All Implemented Interfaces:
Serializable, JMXConnector

public class RMIConnector
extends Object
implements JMXConnector, Serializable

Author:
Tom Elrod
See Also:
Serialized Form

Field Summary
protected static Logger log
           
 
Fields inherited from interface javax.management.remote.JMXConnector
CREDENTIALS
 
Constructor Summary
RMIConnector(JMXServiceURL url, Map environment)
           
RMIConnector(RMIServer rmiServer, Map environment)
           
 
Method Summary
 void addConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 void close()
           
 void connect()
           
 void connect(Map env)
           
 String getConnectionId()
           
 MBeanServerConnection getMBeanServerConnection()
           
 MBeanServerConnection getMBeanServerConnection(Subject delegationSubject)
           
 void removeConnectionNotificationListener(NotificationListener listener)
           
 void removeConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static transient Logger log
Constructor Detail

RMIConnector

public RMIConnector(JMXServiceURL url,
                    Map environment)

RMIConnector

public RMIConnector(RMIServer rmiServer,
                    Map environment)
Method Detail

connect

public void connect()
             throws IOException
Specified by:
connect in interface JMXConnector
Throws:
IOException

connect

public void connect(Map env)
             throws IOException
Specified by:
connect in interface JMXConnector
Throws:
IOException

getMBeanServerConnection

public MBeanServerConnection getMBeanServerConnection()
                                               throws IOException
Specified by:
getMBeanServerConnection in interface JMXConnector
Throws:
IOException

getMBeanServerConnection

public MBeanServerConnection getMBeanServerConnection(Subject delegationSubject)
                                               throws IOException
Specified by:
getMBeanServerConnection in interface JMXConnector
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface JMXConnector
Throws:
IOException

getConnectionId

public String getConnectionId()
                       throws IOException
Specified by:
getConnectionId in interface JMXConnector
Throws:
IOException

addConnectionNotificationListener

public void addConnectionNotificationListener(NotificationListener listener,
                                              NotificationFilter filter,
                                              Object handback)
Specified by:
addConnectionNotificationListener in interface JMXConnector

removeConnectionNotificationListener

public void removeConnectionNotificationListener(NotificationListener listener)
                                          throws ListenerNotFoundException
Specified by:
removeConnectionNotificationListener in interface JMXConnector
Throws:
ListenerNotFoundException

removeConnectionNotificationListener

public void removeConnectionNotificationListener(NotificationListener listener,
                                                 NotificationFilter filter,
                                                 Object handback)
                                          throws ListenerNotFoundException
Specified by:
removeConnectionNotificationListener in interface JMXConnector
Throws:
ListenerNotFoundException

toString

public String toString()
Overrides:
toString in class Object


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