Sonic Management API

com.sonicsw.mf.jmx.client
Interface IRemoteMBeanServer

All Known Implementing Classes:
JMSConnectorClient

public interface IRemoteMBeanServer

Since JMX 1.1 does not yet define a remote MBeanServer interface, this interface does.

See Also:
MBeanServer

Method Summary
 void addNotificationListener(ObjectName objectName, NotificationListener listener, NotificationFilter filter, java.lang.Object handback)
           
 java.lang.String connect(JMSConnectorAddress address)
           
 ObjectInstance createMBean(java.lang.String className, ObjectName objectName)
           
 ObjectInstance createMBean(java.lang.String className, ObjectName objectName, java.lang.Object[] params, java.lang.String[] signature)
           
 ObjectInstance createMBean(java.lang.String className, ObjectName objectName, ObjectName loaderName)
           
 ObjectInstance createMBean(java.lang.String className, ObjectName objectName, ObjectName loaderName, java.lang.Object[] params, java.lang.String[] signature)
           
 void disconnect()
           
 java.lang.Object getAttribute(ObjectName objectName, java.lang.String attribute)
           
 AttributeList getAttributes(ObjectName objectName, java.lang.String[] attributes)
           
 java.lang.String getDefaultDomain()
           
 java.lang.Integer getMBeanCount()
           
 MBeanInfo getMBeanInfo(ObjectName objectName)
           
 ObjectInstance getObjectInstance(ObjectName objectName)
           
 java.lang.Object invoke(ObjectName objectName, java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
           
 boolean isConnected()
           
 boolean isInstanceOf(ObjectName objectName, java.lang.String className)
           
 boolean isRegistered(ObjectName objectName)
           
 java.util.Set queryMBeans(ObjectName objectName, QueryExp query)
           
 java.util.Set queryNames(ObjectName objectName, QueryExp query)
           
 void removeNotificationListener(ObjectName objectName, NotificationListener listener)
           
 void removeNotificationListener(ObjectName objectName, NotificationListener listener, NotificationFilter filter, java.lang.Object handback)
           
 void setAttribute(ObjectName objectName, Attribute attribute)
           
 AttributeList setAttributes(ObjectName objectName, AttributeList attributes)
           
 void unregisterMBean(ObjectName objectName)
           
 

Method Detail

addNotificationListener

void addNotificationListener(ObjectName objectName,
                             NotificationListener listener,
                             NotificationFilter filter,
                             java.lang.Object handback)
                             throws InstanceNotFoundException
Throws:
InstanceNotFoundException

connect

java.lang.String connect(JMSConnectorAddress address)

createMBean

ObjectInstance createMBean(java.lang.String className,
                           ObjectName objectName)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException
Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException

createMBean

ObjectInstance createMBean(java.lang.String className,
                           ObjectName objectName,
                           java.lang.Object[] params,
                           java.lang.String[] signature)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException
Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException

createMBean

ObjectInstance createMBean(java.lang.String className,
                           ObjectName objectName,
                           ObjectName loaderName)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  InstanceNotFoundException
Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException

createMBean

ObjectInstance createMBean(java.lang.String className,
                           ObjectName objectName,
                           ObjectName loaderName,
                           java.lang.Object[] params,
                           java.lang.String[] signature)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  InstanceNotFoundException
Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException

disconnect

void disconnect()

getAttribute

java.lang.Object getAttribute(ObjectName objectName,
                              java.lang.String attribute)
                              throws MBeanException,
                                     AttributeNotFoundException,
                                     InstanceNotFoundException,
                                     ReflectionException
Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException

getAttributes

AttributeList getAttributes(ObjectName objectName,
                            java.lang.String[] attributes)
                            throws InstanceNotFoundException,
                                   ReflectionException
Throws:
InstanceNotFoundException
ReflectionException

getDefaultDomain

java.lang.String getDefaultDomain()

getMBeanCount

java.lang.Integer getMBeanCount()

getMBeanInfo

MBeanInfo getMBeanInfo(ObjectName objectName)
                       throws InstanceNotFoundException,
                              IntrospectionException,
                              ReflectionException
Throws:
InstanceNotFoundException
IntrospectionException
ReflectionException

getObjectInstance

ObjectInstance getObjectInstance(ObjectName objectName)
                                 throws InstanceNotFoundException
Throws:
InstanceNotFoundException

invoke

java.lang.Object invoke(ObjectName objectName,
                        java.lang.String operationName,
                        java.lang.Object[] params,
                        java.lang.String[] signature)
                        throws InstanceNotFoundException,
                               MBeanException,
                               ReflectionException
Throws:
InstanceNotFoundException
MBeanException
ReflectionException

isConnected

boolean isConnected()

isInstanceOf

boolean isInstanceOf(ObjectName objectName,
                     java.lang.String className)
                     throws InstanceNotFoundException
Throws:
InstanceNotFoundException

isRegistered

boolean isRegistered(ObjectName objectName)

queryMBeans

java.util.Set queryMBeans(ObjectName objectName,
                          QueryExp query)

queryNames

java.util.Set queryNames(ObjectName objectName,
                         QueryExp query)

removeNotificationListener

void removeNotificationListener(ObjectName objectName,
                                NotificationListener listener)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException
Throws:
InstanceNotFoundException
ListenerNotFoundException

removeNotificationListener

void removeNotificationListener(ObjectName objectName,
                                NotificationListener listener,
                                NotificationFilter filter,
                                java.lang.Object handback)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException
Throws:
InstanceNotFoundException
ListenerNotFoundException

setAttribute

void setAttribute(ObjectName objectName,
                  Attribute attribute)
                  throws InstanceNotFoundException,
                         AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

setAttributes

AttributeList setAttributes(ObjectName objectName,
                            AttributeList attributes)
                            throws InstanceNotFoundException,
                                   ReflectionException
Throws:
InstanceNotFoundException
ReflectionException

unregisterMBean

void unregisterMBean(ObjectName objectName)
                     throws InstanceNotFoundException,
                            MBeanRegistrationException
Throws:
InstanceNotFoundException
MBeanRegistrationException

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 16-Sep-2010.