org.jboss.net.jmx.adaptor
Interface RemoteAdaptor

All Superinterfaces:
java.rmi.Remote

public interface RemoteAdaptor
extends java.rmi.Remote

Remote Interface for the server side Adaptor which is nearly the same as the MBeanServer Interface but has an additional RemoteException.


Method Summary
 void addNotificationListener(ObjectName (src)  pName, ObjectName (src)  pListener, NotificationFilter (src)  pFilter, java.lang.Object pHandback)
           
 ObjectInstance (src) createMBean(java.lang.String pClassName, ObjectName (src)  pName)
           
 ObjectInstance (src) createMBean(java.lang.String pClassName, ObjectName (src)  pName, java.lang.Object[] pParams, java.lang.String[] pSignature)
           
 ObjectInstance (src) createMBean(java.lang.String pClassName, ObjectName (src)  pName, ObjectName (src)  pLoaderName)
           
 ObjectInstance (src) createMBean(java.lang.String pClassName, ObjectName (src)  pName, ObjectName (src)  pLoaderName, java.lang.Object[] pParams, java.lang.String[] pSignature)
           
 java.lang.Object getAttribute(ObjectName (src)  pName, java.lang.String pAttribute)
           
 AttributeList (src) getAttributes(ObjectName (src)  pName, java.lang.String[] pAttributes)
           
 java.lang.String getDefaultDomain()
           
 java.lang.Integer getMBeanCount()
           
 MBeanInfo (src) getMBeanInfo(ObjectName (src)  pName)
           
 ObjectInstance (src) getObjectInstance(ObjectName (src)  pName)
           
 java.lang.Object invoke(ObjectName (src)  pName, java.lang.String pActionName, java.lang.Object[] pParams, java.lang.String[] pSignature)
           
 boolean isInstanceOf(ObjectName (src)  pName, java.lang.String pClassName)
           
 boolean isRegistered(ObjectName (src)  pName)
           
 java.util.Set queryMBeans(ObjectName (src)  pName, QueryExp (src)  pQuery)
           
 java.util.Set queryNames(ObjectName (src)  pName, QueryExp (src)  pQuery)
           
 void removeNotificationListener(ObjectName (src)  pName, ObjectName (src)  pListener)
           
 void setAttribute(ObjectName (src)  pName, Attribute (src)  pAttribute)
           
 AttributeList (src) setAttributes(ObjectName (src)  pName, AttributeList (src)  pAttributes)
           
 void unregisterMBean(ObjectName (src)  pName)
           
 

Method Detail

createMBean

public ObjectInstance (src)  createMBean(java.lang.String pClassName,
                                  ObjectName (src)  pName)
                           throws ReflectionException (src) ,
                                  InstanceAlreadyExistsException (src) ,
                                  MBeanRegistrationException (src) ,
                                  MBeanException (src) ,
                                  NotCompliantMBeanException (src) ,
                                  java.rmi.RemoteException
Throws:
ReflectionException (src)
InstanceAlreadyExistsException (src)
MBeanRegistrationException (src)
MBeanException (src)
NotCompliantMBeanException (src)
java.rmi.RemoteException

createMBean

public ObjectInstance (src)  createMBean(java.lang.String pClassName,
                                  ObjectName (src)  pName,
                                  ObjectName (src)  pLoaderName)
                           throws ReflectionException (src) ,
                                  InstanceAlreadyExistsException (src) ,
                                  MBeanRegistrationException (src) ,
                                  MBeanException (src) ,
                                  NotCompliantMBeanException (src) ,
                                  InstanceNotFoundException (src) ,
                                  java.rmi.RemoteException
Throws:
ReflectionException (src)
InstanceAlreadyExistsException (src)
MBeanRegistrationException (src)
MBeanException (src)
NotCompliantMBeanException (src)
InstanceNotFoundException (src)
java.rmi.RemoteException

createMBean

public ObjectInstance (src)  createMBean(java.lang.String pClassName,
                                  ObjectName (src)  pName,
                                  java.lang.Object[] pParams,
                                  java.lang.String[] pSignature)
                           throws ReflectionException (src) ,
                                  InstanceAlreadyExistsException (src) ,
                                  MBeanRegistrationException (src) ,
                                  MBeanException (src) ,
                                  NotCompliantMBeanException (src) ,
                                  java.rmi.RemoteException
Throws:
ReflectionException (src)
InstanceAlreadyExistsException (src)
MBeanRegistrationException (src)
MBeanException (src)
NotCompliantMBeanException (src)
java.rmi.RemoteException

createMBean

public ObjectInstance (src)  createMBean(java.lang.String pClassName,
                                  ObjectName (src)  pName,
                                  ObjectName (src)  pLoaderName,
                                  java.lang.Object[] pParams,
                                  java.lang.String[] pSignature)
                           throws ReflectionException (src) ,
                                  InstanceAlreadyExistsException (src) ,
                                  MBeanRegistrationException (src) ,
                                  MBeanException (src) ,
                                  NotCompliantMBeanException (src) ,
                                  InstanceNotFoundException (src) ,
                                  java.rmi.RemoteException
Throws:
ReflectionException (src)
InstanceAlreadyExistsException (src)
MBeanRegistrationException (src)
MBeanException (src)
NotCompliantMBeanException (src)
InstanceNotFoundException (src)
java.rmi.RemoteException

unregisterMBean

public void unregisterMBean(ObjectName (src)  pName)
                     throws InstanceNotFoundException (src) ,
                            MBeanRegistrationException (src) ,
                            java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
MBeanRegistrationException (src)
java.rmi.RemoteException

getObjectInstance

public ObjectInstance (src)  getObjectInstance(ObjectName (src)  pName)
                                 throws InstanceNotFoundException (src) ,
                                        java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
java.rmi.RemoteException

queryMBeans

public java.util.Set queryMBeans(ObjectName (src)  pName,
                                 QueryExp (src)  pQuery)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

queryNames

public java.util.Set queryNames(ObjectName (src)  pName,
                                QueryExp (src)  pQuery)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isRegistered

public boolean isRegistered(ObjectName (src)  pName)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isInstanceOf

public boolean isInstanceOf(ObjectName (src)  pName,
                            java.lang.String pClassName)
                     throws InstanceNotFoundException (src) ,
                            java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
java.rmi.RemoteException

getMBeanCount

public java.lang.Integer getMBeanCount()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAttribute

public java.lang.Object getAttribute(ObjectName (src)  pName,
                                     java.lang.String pAttribute)
                              throws MBeanException (src) ,
                                     AttributeNotFoundException (src) ,
                                     InstanceNotFoundException (src) ,
                                     ReflectionException (src) ,
                                     java.rmi.RemoteException
Throws:
MBeanException (src)
AttributeNotFoundException (src)
InstanceNotFoundException (src)
ReflectionException (src)
java.rmi.RemoteException

getAttributes

public AttributeList (src)  getAttributes(ObjectName (src)  pName,
                                   java.lang.String[] pAttributes)
                            throws InstanceNotFoundException (src) ,
                                   ReflectionException (src) ,
                                   java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
ReflectionException (src)
java.rmi.RemoteException

setAttribute

public void setAttribute(ObjectName (src)  pName,
                         Attribute (src)  pAttribute)
                  throws InstanceNotFoundException (src) ,
                         AttributeNotFoundException (src) ,
                         InvalidAttributeValueException (src) ,
                         MBeanException (src) ,
                         ReflectionException (src) ,
                         java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
AttributeNotFoundException (src)
InvalidAttributeValueException (src)
MBeanException (src)
ReflectionException (src)
java.rmi.RemoteException

setAttributes

public AttributeList (src)  setAttributes(ObjectName (src)  pName,
                                   AttributeList (src)  pAttributes)
                            throws InstanceNotFoundException (src) ,
                                   ReflectionException (src) ,
                                   java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
ReflectionException (src)
java.rmi.RemoteException

invoke

public java.lang.Object invoke(ObjectName (src)  pName,
                               java.lang.String pActionName,
                               java.lang.Object[] pParams,
                               java.lang.String[] pSignature)
                        throws InstanceNotFoundException (src) ,
                               MBeanException (src) ,
                               ReflectionException (src) ,
                               java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
MBeanException (src)
ReflectionException (src)
java.rmi.RemoteException

getDefaultDomain

public java.lang.String getDefaultDomain()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addNotificationListener

public void addNotificationListener(ObjectName (src)  pName,
                                    ObjectName (src)  pListener,
                                    NotificationFilter (src)  pFilter,
                                    java.lang.Object pHandback)
                             throws InstanceNotFoundException (src) ,
                                    java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
java.rmi.RemoteException

removeNotificationListener

public void removeNotificationListener(ObjectName (src)  pName,
                                       ObjectName (src)  pListener)
                                throws InstanceNotFoundException (src) ,
                                       ListenerNotFoundException (src) ,
                                       java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
ListenerNotFoundException (src)
java.rmi.RemoteException

getMBeanInfo

public MBeanInfo (src)  getMBeanInfo(ObjectName (src)  pName)
                       throws InstanceNotFoundException (src) ,
                              IntrospectionException (src) ,
                              ReflectionException (src) ,
                              java.rmi.RemoteException
Throws:
InstanceNotFoundException (src)
IntrospectionException (src)
ReflectionException (src)
java.rmi.RemoteException