javax.management.remote.rmi
Class RMIConnectionImpl

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.management.remote.rmi.RMIConnectionImpl
All Implemented Interfaces:
Remote sample code for java.rmi.Remote definition code for java.rmi.Remote , Unreferenced sample code for java.rmi.server.Unreferenced definition code for java.rmi.server.Unreferenced , RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection

public class RMIConnectionImpl
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection , Unreferenced sample code for java.rmi.server.Unreferenced definition code for java.rmi.server.Unreferenced

Implementation of the RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection interface. User code will not usually reference this class.

Since:
1.5

Constructor Summary
RMIConnectionImpl sample code for javax.management.remote.rmi.RMIConnectionImpl.RMIConnectionImpl(javax.management.remote.rmi.RMIServerImpl, java.lang.String, java.lang.ClassLoader, javax.security.auth.Subject, java.util.Map) definition code for javax.management.remote.rmi.RMIConnectionImpl.RMIConnectionImpl(javax.management.remote.rmi.RMIServerImpl, java.lang.String, java.lang.ClassLoader, javax.security.auth.Subject, java.util.Map) (RMIServerImpl sample code for javax.management.remote.rmi.RMIServerImpl definition code for javax.management.remote.rmi.RMIServerImpl  rmiServer, String sample code for java.lang.String definition code for java.lang.String  connectionId, ClassLoader sample code for java.lang.ClassLoader definition code for java.lang.ClassLoader  defaultClassLoader, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  subject, Map sample code for java.util.Map definition code for java.util.Map <String sample code for java.lang.String definition code for java.lang.String ,?> env)
          Constructs a new RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection .
 
Method Summary
 void addNotificationListener sample code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  listener, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  filter, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  handback, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) .
 Integer sample code for java.lang.Integer definition code for java.lang.Integer [] addNotificationListeners sample code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) definition code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName [] names, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject [] filters, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject [] delegationSubjects)
          Handles the method MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) .
 void close sample code for javax.management.remote.rmi.RMIConnectionImpl.close() definition code for javax.management.remote.rmi.RMIConnectionImpl.close() ()
          Closes this connection.
 ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) (String sample code for java.lang.String definition code for java.lang.String  className, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  params, String sample code for java.lang.String definition code for java.lang.String [] signature, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.createMBean(String, ObjectName, Object[], String[]) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) .
 ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) (String sample code for java.lang.String definition code for java.lang.String  className, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  loaderName, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  params, String sample code for java.lang.String definition code for java.lang.String [] signature, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) .
 ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) (String sample code for java.lang.String definition code for java.lang.String  className, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  loaderName, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.createMBean(String, ObjectName, ObjectName) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName) .
 ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject) (String sample code for java.lang.String definition code for java.lang.String  className, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.createMBean(String, ObjectName) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName) .
 NotificationResult sample code for javax.management.remote.NotificationResult definition code for javax.management.remote.NotificationResult fetchNotifications sample code for javax.management.remote.rmi.RMIConnectionImpl.fetchNotifications(long, int, long) definition code for javax.management.remote.rmi.RMIConnectionImpl.fetchNotifications(long, int, long) (long clientSequenceNumber, int maxNotifications, long timeout)
          Retrieves notifications from the connector server.
 Object sample code for java.lang.Object definition code for java.lang.Object getAttribute sample code for javax.management.remote.rmi.RMIConnectionImpl.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, String sample code for java.lang.String definition code for java.lang.String  attribute, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getAttribute(ObjectName, String) sample code for javax.management.MBeanServerConnection.getAttribute(javax.management.ObjectName, java.lang.String) definition code for javax.management.MBeanServerConnection.getAttribute(javax.management.ObjectName, java.lang.String) .
 AttributeList sample code for javax.management.AttributeList definition code for javax.management.AttributeList getAttributes sample code for javax.management.remote.rmi.RMIConnectionImpl.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, String sample code for java.lang.String definition code for java.lang.String [] attributes, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getAttributes(ObjectName, String[]) sample code for javax.management.MBeanServerConnection.getAttributes(javax.management.ObjectName, java.lang.String[]) definition code for javax.management.MBeanServerConnection.getAttributes(javax.management.ObjectName, java.lang.String[]) .
 String sample code for java.lang.String definition code for java.lang.String getConnectionId sample code for javax.management.remote.rmi.RMIConnectionImpl.getConnectionId() definition code for javax.management.remote.rmi.RMIConnectionImpl.getConnectionId() ()
          Returns the connection ID.
 String sample code for java.lang.String definition code for java.lang.String getDefaultDomain sample code for javax.management.remote.rmi.RMIConnectionImpl.getDefaultDomain(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getDefaultDomain(javax.security.auth.Subject) (Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getDefaultDomain() sample code for javax.management.MBeanServerConnection.getDefaultDomain() definition code for javax.management.MBeanServerConnection.getDefaultDomain() .
 String sample code for java.lang.String definition code for java.lang.String [] getDomains sample code for javax.management.remote.rmi.RMIConnectionImpl.getDomains(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getDomains(javax.security.auth.Subject) (Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getDomains() sample code for javax.management.MBeanServerConnection.getDomains() definition code for javax.management.MBeanServerConnection.getDomains() .
 Integer sample code for java.lang.Integer definition code for java.lang.Integer getMBeanCount sample code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanCount(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanCount(javax.security.auth.Subject) (Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getMBeanCount() sample code for javax.management.MBeanServerConnection.getMBeanCount() definition code for javax.management.MBeanServerConnection.getMBeanCount() .
 MBeanInfo sample code for javax.management.MBeanInfo definition code for javax.management.MBeanInfo getMBeanInfo sample code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getMBeanInfo(ObjectName) sample code for javax.management.MBeanServerConnection.getMBeanInfo(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.getMBeanInfo(javax.management.ObjectName) .
 ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance getObjectInstance sample code for javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.getObjectInstance(ObjectName) sample code for javax.management.MBeanServerConnection.getObjectInstance(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.getObjectInstance(javax.management.ObjectName) .
 Object sample code for java.lang.Object definition code for java.lang.Object invoke sample code for javax.management.remote.rmi.RMIConnectionImpl.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, String sample code for java.lang.String definition code for java.lang.String  operationName, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  params, String sample code for java.lang.String definition code for java.lang.String [] signature, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.invoke(ObjectName, String, Object[], String[]) sample code for javax.management.MBeanServerConnection.invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[]) definition code for javax.management.MBeanServerConnection.invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[]) .
 boolean isInstanceOf sample code for javax.management.remote.rmi.RMIConnectionImpl.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, String sample code for java.lang.String definition code for java.lang.String  className, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.isInstanceOf(ObjectName, String) sample code for javax.management.MBeanServerConnection.isInstanceOf(javax.management.ObjectName, java.lang.String) definition code for javax.management.MBeanServerConnection.isInstanceOf(javax.management.ObjectName, java.lang.String) .
 boolean isRegistered sample code for javax.management.remote.rmi.RMIConnectionImpl.isRegistered(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.isRegistered(javax.management.ObjectName, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.isRegistered(ObjectName) sample code for javax.management.MBeanServerConnection.isRegistered(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.isRegistered(javax.management.ObjectName) .
 Set sample code for java.util.Set definition code for java.util.Set <ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance > queryMBeans sample code for javax.management.remote.rmi.RMIConnectionImpl.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  query, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.queryMBeans(ObjectName, QueryExp) sample code for javax.management.MBeanServerConnection.queryMBeans(javax.management.ObjectName, javax.management.QueryExp) definition code for javax.management.MBeanServerConnection.queryMBeans(javax.management.ObjectName, javax.management.QueryExp) .
 Set sample code for java.util.Set definition code for java.util.Set <ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName > queryNames sample code for javax.management.remote.rmi.RMIConnectionImpl.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  query, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.queryNames(ObjectName, QueryExp) sample code for javax.management.MBeanServerConnection.queryNames(javax.management.ObjectName, javax.management.QueryExp) definition code for javax.management.MBeanServerConnection.queryNames(javax.management.ObjectName, javax.management.QueryExp) .
 void removeNotificationListener sample code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  listener, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  filter, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  handback, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) .
 void removeNotificationListener sample code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  listener, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName) .
 void removeNotificationListeners sample code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, Integer sample code for java.lang.Integer definition code for java.lang.Integer [] listenerIDs, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the removeNotificationListener(ObjectName, NotificationListener) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener) and removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) methods.
 void setAttribute sample code for javax.management.remote.rmi.RMIConnectionImpl.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  attribute, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.setAttribute(ObjectName, Attribute) sample code for javax.management.MBeanServerConnection.setAttribute(javax.management.ObjectName, javax.management.Attribute) definition code for javax.management.MBeanServerConnection.setAttribute(javax.management.ObjectName, javax.management.Attribute) .
 AttributeList sample code for javax.management.AttributeList definition code for javax.management.AttributeList setAttributes sample code for javax.management.remote.rmi.RMIConnectionImpl.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  attributes, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.setAttributes(ObjectName, AttributeList) sample code for javax.management.MBeanServerConnection.setAttributes(javax.management.ObjectName, javax.management.AttributeList) definition code for javax.management.MBeanServerConnection.setAttributes(javax.management.ObjectName, javax.management.AttributeList) .
 String sample code for java.lang.String definition code for java.lang.String toString sample code for javax.management.remote.rmi.RMIConnectionImpl.toString() definition code for javax.management.remote.rmi.RMIConnectionImpl.toString() ()
          Returns a string representation of this object.
 void unreferenced sample code for javax.management.remote.rmi.RMIConnectionImpl.unreferenced() definition code for javax.management.remote.rmi.RMIConnectionImpl.unreferenced() ()
          Called by the RMI runtime sometime after the runtime determines that the reference list, the list of clients referencing the remote object, becomes empty.
 void unregisterMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name, Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
          Handles the method MBeanServerConnection.unregisterMBean(ObjectName) sample code for javax.management.MBeanServerConnection.unregisterMBean(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.unregisterMBean(javax.management.ObjectName) .
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

RMIConnectionImpl sample code for javax.management.remote.rmi.RMIConnectionImpl(javax.management.remote.rmi.RMIServerImpl, java.lang.String, java.lang.ClassLoader, javax.security.auth.Subject, java.util.Map<java.lang.String, ?>) definition code for javax.management.remote.rmi.RMIConnectionImpl(javax.management.remote.rmi.RMIServerImpl, java.lang.String, java.lang.ClassLoader, javax.security.auth.Subject, java.util.Map<java.lang.String, ?>)

public RMIConnectionImpl(RMIServerImpl sample code for javax.management.remote.rmi.RMIServerImpl definition code for javax.management.remote.rmi.RMIServerImpl  rmiServer,
                         String sample code for java.lang.String definition code for java.lang.String  connectionId,
                         ClassLoader sample code for java.lang.ClassLoader definition code for java.lang.ClassLoader  defaultClassLoader,
                         Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  subject,
                         Map sample code for java.util.Map definition code for java.util.Map <String sample code for java.lang.String definition code for java.lang.String ,?> env)
Constructs a new RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection . This connection can be used with either the JRMP or IIOP transport. This object does not export itself: it is the responsibility of the caller to export it appropriately (see RMIJRMPServerImpl.makeClient(String,Subject) sample code for javax.management.remote.rmi.RMIJRMPServerImpl.makeClient(java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIJRMPServerImpl.makeClient(java.lang.String, javax.security.auth.Subject) and RMIIIOPServerImpl.makeClient(String,Subject) sample code for javax.management.remote.rmi.RMIIIOPServerImpl.makeClient(java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIIIOPServerImpl.makeClient(java.lang.String, javax.security.auth.Subject) .

Parameters:
rmiServer - The RMIServerImpl object for which this connection is created. The behavior is unspecified if this parameter is null.
connectionId - The ID for this connection. The behavior is unspecified if this parameter is null.
defaultClassLoader - The default ClassLoader to be used when deserializing marshalled objects. Can be null, to signify the bootstrap class loader.
subject - the authenticated subject to be used for authorization. Can be null, to signify that no subject has been authenticated.
env - the environment containing attributes for the new RMIServerImpl. Can be null, equivalent to an empty map.
Method Detail

getConnectionId sample code for javax.management.remote.rmi.RMIConnectionImpl.getConnectionId() definition code for javax.management.remote.rmi.RMIConnectionImpl.getConnectionId()

public String sample code for java.lang.String definition code for java.lang.String  getConnectionId()
                       throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getConnectionId() definition code for javax.management.remote.rmi.RMIConnection.getConnectionId()

Returns the connection ID. This string is different for every open connection to a given RMI connector server.

Specified by:
getConnectionId sample code for javax.management.remote.rmi.RMIConnection.getConnectionId() definition code for javax.management.remote.rmi.RMIConnection.getConnectionId() in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Returns:
the connection ID
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnector.connect sample code for javax.management.remote.rmi.RMIConnector.connect() definition code for javax.management.remote.rmi.RMIConnector.connect()

close sample code for javax.management.remote.rmi.RMIConnectionImpl.close() definition code for javax.management.remote.rmi.RMIConnectionImpl.close()

public void close()
           throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.close() definition code for javax.management.remote.rmi.RMIConnection.close()

Closes this connection. On return from this method, the RMI object implementing this interface is unexported, so further remote calls to it will fail.

Specified by:
close sample code for javax.management.remote.rmi.RMIConnection.close() definition code for javax.management.remote.rmi.RMIConnection.close() in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if the connection could not be closed, or the Remote object could not be unexported, or there was a communication failure when transmitting the remote close request.

unreferenced sample code for javax.management.remote.rmi.RMIConnectionImpl.unreferenced() definition code for javax.management.remote.rmi.RMIConnectionImpl.unreferenced()

public void unreferenced()
Description copied from interface: Unreferenced sample code for java.rmi.server.Unreferenced.unreferenced() definition code for java.rmi.server.Unreferenced.unreferenced()
Called by the RMI runtime sometime after the runtime determines that the reference list, the list of clients referencing the remote object, becomes empty.

Specified by:
unreferenced sample code for java.rmi.server.Unreferenced.unreferenced() definition code for java.rmi.server.Unreferenced.unreferenced() in interface Unreferenced sample code for java.rmi.server.Unreferenced definition code for java.rmi.server.Unreferenced

createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject)

public ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance  createMBean(String sample code for java.lang.String definition code for java.lang.String  className,
                                  ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                  Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                           throws ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                                  InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException ,
                                  MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException ,
                                  MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                                  NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException ,
                                  IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.createMBean(String, ObjectName) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName) .

Specified by:
createMBean sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
className - The class name of the MBean to be instantiated.
name - The object name of the MBean. May be null.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
An ObjectInstance, containing the ObjectName and the Java class name of the newly instantiated MBean. If the contained ObjectName is n, the contained Java class name is getMBeanInfo(n) sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) .getClassName().
Throws:
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.ClassNotFoundException or a java.lang.Exception that occurred when trying to invoke the MBean's constructor.
InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException - The MBean is already under the control of the MBean server.
MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException - The preRegister (MBeanRegistration interface) method of the MBean has thrown an exception. The MBean will not be registered.
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - The constructor of the MBean has thrown an exception.
NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException - This class is not a JMX compliant MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject)

public ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance  createMBean(String sample code for java.lang.String definition code for java.lang.String  className,
                                  ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                  ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  loaderName,
                                  Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                           throws ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                                  InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException ,
                                  MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException ,
                                  MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                                  NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException ,
                                  InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                  IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.createMBean(String, ObjectName, ObjectName) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName) .

Specified by:
createMBean sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
className - The class name of the MBean to be instantiated.
name - The object name of the MBean. May be null.
loaderName - The object name of the class loader to be used.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
An ObjectInstance, containing the ObjectName and the Java class name of the newly instantiated MBean. If the contained ObjectName is n, the contained Java class name is getMBeanInfo(n) sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) .getClassName().
Throws:
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.ClassNotFoundException or a java.lang.Exception that occurred when trying to invoke the MBean's constructor.
InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException - The MBean is already under the control of the MBean server.
MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException - The preRegister (MBeanRegistration interface) method of the MBean has thrown an exception. The MBean will not be registered.
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - The constructor of the MBean has thrown an exception.
NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException - This class is not a JMX compliant MBean.
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The specified class loader is not registered in the MBean server.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject)

public ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance  createMBean(String sample code for java.lang.String definition code for java.lang.String  className,
                                  ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                  MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  params,
                                  String sample code for java.lang.String definition code for java.lang.String [] signature,
                                  Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                           throws ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                                  InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException ,
                                  MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException ,
                                  MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                                  NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException ,
                                  IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject)
Handles the method MBeanServerConnection.createMBean(String, ObjectName, Object[], String[]) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) . The Object[] parameter is wrapped in a MarshalledObject.

Specified by:
createMBean sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
className - The class name of the MBean to be instantiated.
name - The object name of the MBean. May be null.
params - An array containing the parameters of the constructor to be invoked, encapsulated into a MarshalledObject. The encapsulated array can be null, equivalent to an empty array.
signature - An array containing the signature of the constructor to be invoked. Can be null, equivalent to an empty array.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
An ObjectInstance, containing the ObjectName and the Java class name of the newly instantiated MBean. If the contained ObjectName is n, the contained Java class name is getMBeanInfo(n) sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) .getClassName().
Throws:
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.ClassNotFoundException or a java.lang.Exception that occurred when trying to invoke the MBean's constructor.
InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException - The MBean is already under the control of the MBean server.
MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException - The preRegister (MBeanRegistration interface) method of the MBean has thrown an exception. The MBean will not be registered.
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - The constructor of the MBean has thrown an exception.
NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException - This class is not a JMX compliant MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

createMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject)

public ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance  createMBean(String sample code for java.lang.String definition code for java.lang.String  className,
                                  ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                  ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  loaderName,
                                  MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  params,
                                  String sample code for java.lang.String definition code for java.lang.String [] signature,
                                  Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                           throws ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                                  InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException ,
                                  MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException ,
                                  MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                                  NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException ,
                                  InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                  IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject)
Handles the method MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]) sample code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) definition code for javax.management.MBeanServerConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.lang.Object[], java.lang.String[]) . The Object[] parameter is wrapped in a MarshalledObject.

Specified by:
createMBean sample code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
className - The class name of the MBean to be instantiated.
name - The object name of the MBean. May be null.
loaderName - The object name of the class loader to be used.
params - An array containing the parameters of the constructor to be invoked, encapsulated into a MarshalledObject. The encapsulated array can be null, equivalent to an empty array.
signature - An array containing the signature of the constructor to be invoked. Can be null, equivalent to an empty array.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
An ObjectInstance, containing the ObjectName and the Java class name of the newly instantiated MBean. If the contained ObjectName is n, the contained Java class name is getMBeanInfo(n) sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) .getClassName().
Throws:
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.ClassNotFoundException or a java.lang.Exception that occurred when trying to invoke the MBean's constructor.
InstanceAlreadyExistsException sample code for javax.management.InstanceAlreadyExistsException definition code for javax.management.InstanceAlreadyExistsException - The MBean is already under the control of the MBean server.
MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException - The preRegister (MBeanRegistration interface) method of the MBean has thrown an exception. The MBean will not be registered.
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - The constructor of the MBean has thrown an exception.
NotCompliantMBeanException sample code for javax.management.NotCompliantMBeanException definition code for javax.management.NotCompliantMBeanException - This class is not a JMX compliant MBean.
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The specified class loader is not registered in the MBean server.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

unregisterMBean sample code for javax.management.remote.rmi.RMIConnectionImpl.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject)

public void unregisterMBean(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                            Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                     throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                            MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException ,
                            IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.unregisterMBean(ObjectName) sample code for javax.management.MBeanServerConnection.unregisterMBean(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.unregisterMBean(javax.management.ObjectName) .

Specified by:
unregisterMBean sample code for javax.management.remote.rmi.RMIConnection.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean to be unregistered.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
MBeanRegistrationException sample code for javax.management.MBeanRegistrationException definition code for javax.management.MBeanRegistrationException - The preDeregister ((MBeanRegistration interface) method of the MBean has thrown an exception.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

getObjectInstance sample code for javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject)

public ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance  getObjectInstance(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                        Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                                 throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                        IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.getObjectInstance(ObjectName) sample code for javax.management.MBeanServerConnection.getObjectInstance(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.getObjectInstance(javax.management.ObjectName) .

Specified by:
getObjectInstance sample code for javax.management.remote.rmi.RMIConnection.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
The ObjectInstance associated with the MBean specified by name. The contained ObjectName is name and the contained class name is getMBeanInfo(name) sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) .getClassName().
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

queryMBeans sample code for javax.management.remote.rmi.RMIConnectionImpl.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)

public Set sample code for java.util.Set definition code for java.util.Set <ObjectInstance sample code for javax.management.ObjectInstance definition code for javax.management.ObjectInstance > queryMBeans(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                       MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  query,
                                       Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                                throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)
Handles the method MBeanServerConnection.queryMBeans(ObjectName, QueryExp) sample code for javax.management.MBeanServerConnection.queryMBeans(javax.management.ObjectName, javax.management.QueryExp) definition code for javax.management.MBeanServerConnection.queryMBeans(javax.management.ObjectName, javax.management.QueryExp) . The QueryExp is wrapped in a MarshalledObject.

Specified by:
queryMBeans sample code for javax.management.remote.rmi.RMIConnection.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.queryMBeans(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name pattern identifying the MBeans to be retrieved. If null or no domain and key properties are specified, all the MBeans registered will be retrieved.
query - The query expression to be applied for selecting MBeans, encapsulated into a MarshalledObject. If the MarshalledObject encapsulates a null value no query expression will be applied for selecting MBeans.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
A set containing the ObjectInstance objects for the selected MBeans. If no MBean satisfies the query an empty list is returned.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

queryNames sample code for javax.management.remote.rmi.RMIConnectionImpl.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)

public Set sample code for java.util.Set definition code for java.util.Set <ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName > queryNames(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                  MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  query,
                                  Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                           throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)
Handles the method MBeanServerConnection.queryNames(ObjectName, QueryExp) sample code for javax.management.MBeanServerConnection.queryNames(javax.management.ObjectName, javax.management.QueryExp) definition code for javax.management.MBeanServerConnection.queryNames(javax.management.ObjectName, javax.management.QueryExp) . The QueryExp is wrapped in a MarshalledObject.

Specified by:
queryNames sample code for javax.management.remote.rmi.RMIConnection.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.queryNames(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name pattern identifying the MBean names to be retrieved. If null or no domain and key properties are specified, the name of all registered MBeans will be retrieved.
query - The query expression to be applied for selecting MBeans, encapsulated into a MarshalledObject. If the MarshalledObject encapsulates a null value no query expression will be applied for selecting MBeans.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
A set containing the ObjectNames for the MBeans selected. If no MBean satisfies the query, an empty list is returned.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

isRegistered sample code for javax.management.remote.rmi.RMIConnectionImpl.isRegistered(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.isRegistered(javax.management.ObjectName, javax.security.auth.Subject)

public boolean isRegistered(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                            Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                     throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.isRegistered(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.isRegistered(javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.isRegistered(ObjectName) sample code for javax.management.MBeanServerConnection.isRegistered(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.isRegistered(javax.management.ObjectName) .

Specified by:
isRegistered sample code for javax.management.remote.rmi.RMIConnection.isRegistered(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.isRegistered(javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean to be checked.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
True if the MBean is already registered in the MBean server, false otherwise.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

getMBeanCount sample code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanCount(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanCount(javax.security.auth.Subject)

public Integer sample code for java.lang.Integer definition code for java.lang.Integer  getMBeanCount(Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                      throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getMBeanCount(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanCount(javax.security.auth.Subject)
Handles the method MBeanServerConnection.getMBeanCount() sample code for javax.management.MBeanServerConnection.getMBeanCount() definition code for javax.management.MBeanServerConnection.getMBeanCount() .

Specified by:
getMBeanCount sample code for javax.management.remote.rmi.RMIConnection.getMBeanCount(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanCount(javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
the number of MBeans registered.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

getAttribute sample code for javax.management.remote.rmi.RMIConnectionImpl.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)

public Object sample code for java.lang.Object definition code for java.lang.Object  getAttribute(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                           String sample code for java.lang.String definition code for java.lang.String  attribute,
                           Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                    throws MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                           AttributeNotFoundException sample code for javax.management.AttributeNotFoundException definition code for javax.management.AttributeNotFoundException ,
                           InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                           ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                           IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)
Handles the method MBeanServerConnection.getAttribute(ObjectName, String) sample code for javax.management.MBeanServerConnection.getAttribute(javax.management.ObjectName, java.lang.String) definition code for javax.management.MBeanServerConnection.getAttribute(javax.management.ObjectName, java.lang.String) .

Specified by:
getAttribute sample code for javax.management.remote.rmi.RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean from which the attribute is to be retrieved.
attribute - A String specifying the name of the attribute to be retrieved.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
The value of the retrieved attribute.
Throws:
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - Wraps an exception thrown by the MBean's getter.
AttributeNotFoundException sample code for javax.management.AttributeNotFoundException definition code for javax.management.AttributeNotFoundException - The attribute specified is not accessible in the MBean.
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.Exception thrown when trying to invoke the getter.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) sample code for javax.management.remote.rmi.RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)

getAttributes sample code for javax.management.remote.rmi.RMIConnectionImpl.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject)

public AttributeList sample code for javax.management.AttributeList definition code for javax.management.AttributeList  getAttributes(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                   String sample code for java.lang.String definition code for java.lang.String [] attributes,
                                   Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                            throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                   ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                                   IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject)
Handles the method MBeanServerConnection.getAttributes(ObjectName, String[]) sample code for javax.management.MBeanServerConnection.getAttributes(javax.management.ObjectName, java.lang.String[]) definition code for javax.management.MBeanServerConnection.getAttributes(javax.management.ObjectName, java.lang.String[]) .

Specified by:
getAttributes sample code for javax.management.remote.rmi.RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean from which the attributes are retrieved.
attributes - A list of the attributes to be retrieved.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
The list of the retrieved attributes.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - An exception occurred when trying to invoke the getAttributes method of a Dynamic MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) sample code for javax.management.remote.rmi.RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)

setAttribute sample code for javax.management.remote.rmi.RMIConnectionImpl.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)

public void setAttribute(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                         MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  attribute,
                         Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                  throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                         AttributeNotFoundException sample code for javax.management.AttributeNotFoundException definition code for javax.management.AttributeNotFoundException ,
                         InvalidAttributeValueException sample code for javax.management.InvalidAttributeValueException definition code for javax.management.InvalidAttributeValueException ,
                         MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                         ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                         IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)
Handles the method MBeanServerConnection.setAttribute(ObjectName, Attribute) sample code for javax.management.MBeanServerConnection.setAttribute(javax.management.ObjectName, javax.management.Attribute) definition code for javax.management.MBeanServerConnection.setAttribute(javax.management.ObjectName, javax.management.Attribute) . The Attribute parameter is wrapped in a MarshalledObject.

Specified by:
setAttribute sample code for javax.management.remote.rmi.RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The name of the MBean within which the attribute is to be set.
attribute - The identification of the attribute to be set and the value it is to be set to, encapsulated into a MarshalledObject.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
AttributeNotFoundException sample code for javax.management.AttributeNotFoundException definition code for javax.management.AttributeNotFoundException - The attribute specified is not accessible in the MBean.
InvalidAttributeValueException sample code for javax.management.InvalidAttributeValueException definition code for javax.management.InvalidAttributeValueException - The value specified for the attribute is not valid.
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - Wraps an exception thrown by the MBean's setter.
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.Exception thrown when trying to invoke the setter.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) sample code for javax.management.remote.rmi.RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)

setAttributes sample code for javax.management.remote.rmi.RMIConnectionImpl.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)

public AttributeList sample code for javax.management.AttributeList definition code for javax.management.AttributeList  setAttributes(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                   MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  attributes,
                                   Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                            throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                   ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                                   IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject)
Handles the method MBeanServerConnection.setAttributes(ObjectName, AttributeList) sample code for javax.management.MBeanServerConnection.setAttributes(javax.management.ObjectName, javax.management.AttributeList) definition code for javax.management.MBeanServerConnection.setAttributes(javax.management.ObjectName, javax.management.AttributeList) . The AttributeList parameter is wrapped in a MarshalledObject.

Specified by:
setAttributes sample code for javax.management.remote.rmi.RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean within which the attributes are to be set.
attributes - A list of attributes: The identification of the attributes to be set and the values they are to be set to, encapsulated into a MarshalledObject.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
The list of attributes that were set, with their new values.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - An exception occurred when trying to invoke the getAttributes method of a Dynamic MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) sample code for javax.management.remote.rmi.RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject)

invoke sample code for javax.management.remote.rmi.RMIConnectionImpl.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject)

public Object sample code for java.lang.Object definition code for java.lang.Object  invoke(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                     String sample code for java.lang.String definition code for java.lang.String  operationName,
                     MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  params,
                     String sample code for java.lang.String definition code for java.lang.String [] signature,
                     Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
              throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                     MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException ,
                     ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                     IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject)
Handles the method MBeanServerConnection.invoke(ObjectName, String, Object[], String[]) sample code for javax.management.MBeanServerConnection.invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[]) definition code for javax.management.MBeanServerConnection.invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[]) . The Object[] parameter is wrapped in a MarshalledObject.

Specified by:
invoke sample code for javax.management.remote.rmi.RMIConnection.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.invoke(javax.management.ObjectName, java.lang.String, java.rmi.MarshalledObject, java.lang.String[], javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The object name of the MBean on which the method is to be invoked.
operationName - The name of the operation to be invoked.
params - An array containing the parameters to be set when the operation is invoked, encapsulated into a MarshalledObject. The encapsulated array can be null, equivalent to an empty array.
signature - An array containing the signature of the operation. The class objects will be loaded using the same class loader as the one used for loading the MBean on which the operation was invoked. Can be null, equivalent to an empty array.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
The object returned by the operation, which represents the result of invoking the operation on the MBean specified.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
MBeanException sample code for javax.management.MBeanException definition code for javax.management.MBeanException - Wraps an exception thrown by the MBean's invoked method.
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - Wraps a java.lang.Exception thrown while trying to invoke the method.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

getDefaultDomain sample code for javax.management.remote.rmi.RMIConnectionImpl.getDefaultDomain(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getDefaultDomain(javax.security.auth.Subject)

public String sample code for java.lang.String definition code for java.lang.String  getDefaultDomain(Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                        throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getDefaultDomain(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getDefaultDomain(javax.security.auth.Subject)
Handles the method MBeanServerConnection.getDefaultDomain() sample code for javax.management.MBeanServerConnection.getDefaultDomain() definition code for javax.management.MBeanServerConnection.getDefaultDomain() .

Specified by:
getDefaultDomain sample code for javax.management.remote.rmi.RMIConnection.getDefaultDomain(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getDefaultDomain(javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
the default domain.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

getDomains sample code for javax.management.remote.rmi.RMIConnectionImpl.getDomains(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getDomains(javax.security.auth.Subject)

public String sample code for java.lang.String definition code for java.lang.String [] getDomains(Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                    throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getDomains(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getDomains(javax.security.auth.Subject)
Handles the method MBeanServerConnection.getDomains() sample code for javax.management.MBeanServerConnection.getDomains() definition code for javax.management.MBeanServerConnection.getDomains() .

Specified by:
getDomains sample code for javax.management.remote.rmi.RMIConnection.getDomains(javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getDomains(javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
the list of domains.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

getMBeanInfo sample code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject)

public MBeanInfo sample code for javax.management.MBeanInfo definition code for javax.management.MBeanInfo  getMBeanInfo(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                              Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                       throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                              IntrospectionException sample code for javax.management.IntrospectionException definition code for javax.management.IntrospectionException ,
                              ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException ,
                              IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.getMBeanInfo(ObjectName) sample code for javax.management.MBeanServerConnection.getMBeanInfo(javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.getMBeanInfo(javax.management.ObjectName) .

Specified by:
getMBeanInfo sample code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The name of the MBean to analyze
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
An instance of MBeanInfo allowing the retrieval of all attributes and operations of this MBean.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified was not found.
IntrospectionException sample code for javax.management.IntrospectionException definition code for javax.management.IntrospectionException - An exception occured during introspection.
ReflectionException sample code for javax.management.ReflectionException definition code for javax.management.ReflectionException - An exception occurred when trying to invoke the getMBeanInfo of a Dynamic MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

isInstanceOf sample code for javax.management.remote.rmi.RMIConnectionImpl.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)

public boolean isInstanceOf(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                            String sample code for java.lang.String definition code for java.lang.String  className,
                            Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                     throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                            IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)
Handles the method MBeanServerConnection.isInstanceOf(ObjectName, String) sample code for javax.management.MBeanServerConnection.isInstanceOf(javax.management.ObjectName, java.lang.String) definition code for javax.management.MBeanServerConnection.isInstanceOf(javax.management.ObjectName, java.lang.String) .

Specified by:
isInstanceOf sample code for javax.management.remote.rmi.RMIConnection.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The ObjectName of the MBean.
className - The name of the class.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Returns:
true if the MBean specified is an instance of the specified class according to the rules above, false otherwise.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean specified is not registered in the MBean server.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

addNotificationListeners sample code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) definition code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[])

public Integer sample code for java.lang.Integer definition code for java.lang.Integer [] addNotificationListeners(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName [] names,
                                          MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject [] filters,
                                          Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject [] delegationSubjects)
                                   throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                          IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[])

Handles the method MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) .

Register for notifications from the given MBeans that match the given filters. The remote client can subsequently retrieve the notifications using the fetchNotifications sample code for javax.management.remote.rmi.RMIConnection.fetchNotifications(long, int, long) definition code for javax.management.remote.rmi.RMIConnection.fetchNotifications(long, int, long) method.

For each listener, the original NotificationListener and handback are kept on the client side; in order for the client to be able to identify them, the server generates and returns a unique listenerID. This listenerID is forwarded with the Notifications to the remote client.

If any one of the given (name, filter) pairs cannot be registered, then the operation fails with an exception, and no names or filters are registered.

Specified by:
addNotificationListeners sample code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
names - the ObjectNames identifying the MBeans emitting the Notifications.
filters - an array of marshalled representations of the NotificationFilters. Elements of this array can be null.
delegationSubjects - the Subjects on behalf of which the listeners are being added. Elements of this array can be null. Also, the delegationSubjects parameter itself can be null, which is equivalent to an array of null values with the same size as the names and filters arrays.
Returns:
an array of listenerIDs identifying the local listeners. This array has the same number of elements as the parameters.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - if one of the names does not correspond to any registered MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

addNotificationListener sample code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)

public void addNotificationListener(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                    ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  listener,
                                    MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  filter,
                                    MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  handback,
                                    Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                             throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                    IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)
Handles the method MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) . The NotificationFilter parameter is wrapped in a MarshalledObject. The Object (handback) parameter is also wrapped in a MarshalledObject.

Specified by:
addNotificationListener sample code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The name of the MBean on which the listener should be added.
listener - The object name of the listener which will handle the notifications emitted by the registered MBean.
filter - The filter object, encapsulated into a MarshalledObject. If filter encapsulated in the MarshalledObject has a null value, no filtering will be performed before handling notifications.
handback - The context to be sent to the listener when a notification is emitted, encapsulated into a MarshalledObject.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean name of the notification listener or of the notification broadcaster does not match any of the registered MBeans.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.removeNotificationListener(ObjectName, ObjectName, Subject) sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) , RMIConnection.removeNotificationListener(ObjectName, ObjectName, MarshalledObject, MarshalledObject, Subject) sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)

removeNotificationListeners sample code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject)

public void removeNotificationListeners(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                        Integer sample code for java.lang.Integer definition code for java.lang.Integer [] listenerIDs,
                                        Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                                 throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                        ListenerNotFoundException sample code for javax.management.ListenerNotFoundException definition code for javax.management.ListenerNotFoundException ,
                                        IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject)

Handles the removeNotificationListener(ObjectName, NotificationListener) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener) and removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) methods.

This method removes one or more NotificationListeners from a given MBean in the MBean server.

The NotificationListeners are identified by the IDs which were returned by the RMIConnection.addNotificationListeners(ObjectName[], MarshalledObject[], Subject[]) sample code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) method.

Specified by:
removeNotificationListeners sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - the ObjectName identifying the MBean emitting the Notifications.
listenerIDs - the list of the IDs corresponding to the listeners to remove.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - if the given name does not correspond to any registered MBean.
ListenerNotFoundException sample code for javax.management.ListenerNotFoundException definition code for javax.management.ListenerNotFoundException - if one of the listeners was not found on the server side. This exception can happen if the MBean discarded a listener for some reason other than a call to MBeanServer.removeNotificationListener.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

removeNotificationListener sample code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject)

public void removeNotificationListener(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                       ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  listener,
                                       Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                                throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                       ListenerNotFoundException sample code for javax.management.ListenerNotFoundException definition code for javax.management.ListenerNotFoundException ,
                                       IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject)
Handles the method MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName) .

Specified by:
removeNotificationListener sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The name of the MBean on which the listener should be removed.
listener - The object name of the listener to be removed.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean name provided does not match any of the registered MBeans.
ListenerNotFoundException sample code for javax.management.ListenerNotFoundException definition code for javax.management.ListenerNotFoundException - The listener is not registered in the MBean.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) sample code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)

removeNotificationListener sample code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnectionImpl.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)

public void removeNotificationListener(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name,
                                       ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  listener,
                                       MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  filter,
                                       MarshalledObject sample code for java.rmi.MarshalledObject definition code for java.rmi.MarshalledObject  handback,
                                       Subject sample code for javax.security.auth.Subject definition code for javax.security.auth.Subject  delegationSubject)
                                throws InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException ,
                                       ListenerNotFoundException sample code for javax.management.ListenerNotFoundException definition code for javax.management.ListenerNotFoundException ,
                                       IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)
Handles the method MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) sample code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) definition code for javax.management.MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object) . The NotificationFilter parameter is wrapped in a MarshalledObject. The Object parameter is also wrapped in a MarshalledObject.

Specified by:
removeNotificationListener sample code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
name - The name of the MBean on which the listener should be removed.
listener - A listener that was previously added to this MBean.
filter - The filter that was specified when the listener was added, encapsulated into a MarshalledObject.
handback - The handback that was specified when the listener was added, encapsulated into a MarshalledObject.
delegationSubject - The Subject containing the delegation principals or null if the authentication principal is used instead.
Throws:
InstanceNotFoundException sample code for javax.management.InstanceNotFoundException definition code for javax.management.InstanceNotFoundException - The MBean name provided does not match any of the registered MBeans.
ListenerNotFoundException sample code for javax.management.ListenerNotFoundException definition code for javax.management.ListenerNotFoundException - The listener is not registered in the MBean, or it is not registered with the given filter and handback.
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.
See Also:
RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) sample code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject)

fetchNotifications sample code for javax.management.remote.rmi.RMIConnectionImpl.fetchNotifications(long, int, long) definition code for javax.management.remote.rmi.RMIConnectionImpl.fetchNotifications(long, int, long)

public NotificationResult sample code for javax.management.remote.NotificationResult definition code for javax.management.remote.NotificationResult  fetchNotifications(long clientSequenceNumber,
                                             int maxNotifications,
                                             long timeout)
                                      throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Description copied from interface: RMIConnection sample code for javax.management.remote.rmi.RMIConnection.fetchNotifications(long, int, long) definition code for javax.management.remote.rmi.RMIConnection.fetchNotifications(long, int, long)

Retrieves notifications from the connector server. This method can block until there is at least one notification or until the specified timeout is reached. The method can also return at any time with zero notifications.

A notification can be included in the result if its sequence number is no less than clientSequenceNumber and this client has registered at least one listener for the MBean generating the notification, with a filter that accepts the notification. Each listener that is interested in the notification is identified by an Integer ID that was returned by RMIConnection.addNotificationListeners(ObjectName[], MarshalledObject[], Subject[]) sample code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) definition code for javax.management.remote.rmi.RMIConnection.addNotificationListeners(javax.management.ObjectName[], java.rmi.MarshalledObject[], javax.security.auth.Subject[]) .

Specified by:
fetchNotifications sample code for javax.management.remote.rmi.RMIConnection.fetchNotifications(long, int, long) definition code for javax.management.remote.rmi.RMIConnection.fetchNotifications(long, int, long) in interface RMIConnection sample code for javax.management.remote.rmi.RMIConnection definition code for javax.management.remote.rmi.RMIConnection
Parameters:
clientSequenceNumber - the first sequence number that the client is interested in. If negative, it is interpreted as meaning the sequence number that the next notification will have.
maxNotifications - the maximum number of different notifications to return. The TargetedNotification array in the returned NotificationResult can have more elements than this if the same notification appears more than once. The behavior is unspecified if this parameter is negative.
timeout - the maximum time in milliseconds to wait for a notification to arrive. This can be 0 to indicate that the method should not wait if there are no notifications, but should return at once. It can be Long.MAX_VALUE to indicate that there is no timeout. The behavior is unspecified if this parameter is negative.
Returns:
A NotificationResult.
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a general communication exception occurred.

toString sample code for javax.management.remote.rmi.RMIConnectionImpl.toString() definition code for javax.management.remote.rmi.RMIConnectionImpl.toString()

public String sample code for java.lang.String definition code for java.lang.String  toString()

Returns a string representation of this object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read.

Overrides:
toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a String representation of this object.