javax.management.remote.rmi
Class RMIConnector
java.lang.Object
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
log
protected static transient Logger log
RMIConnector
public RMIConnector(JMXServiceURL url,
Map environment)
RMIConnector
public RMIConnector(RMIServer rmiServer,
Map environment)
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.