mx4j.connector
Interface MBeanServerConnection
- All Known Subinterfaces:
- RemoteMBeanServer
public interface MBeanServerConnection
The interface for generic MBeanServers.
- Version:
- $Revision: 1.1 $
- Author:
- Simone Bordet
|
Method Summary |
void |
addNotificationListener(ObjectName observed,
NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
|
ObjectInstance |
createMBean(java.lang.String className,
ObjectName objectName,
java.lang.Object[] args,
java.lang.String[] parameters)
|
ObjectInstance |
createMBean(java.lang.String className,
ObjectName objectName,
ObjectName loaderName,
java.lang.Object[] args,
java.lang.String[] parameters)
|
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 methodName,
java.lang.Object[] args,
java.lang.String[] parameters)
|
boolean |
isInstanceOf(ObjectName objectName,
java.lang.String className)
|
boolean |
isRegistered(ObjectName objectname)
|
java.util.Set |
queryMBeans(ObjectName patternName,
QueryExp filter)
|
java.util.Set |
queryNames(ObjectName patternName,
QueryExp filter)
|
void |
removeNotificationListener(ObjectName observed,
NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
|
void |
setAttribute(ObjectName objectName,
Attribute attribute)
|
AttributeList |
setAttributes(ObjectName objectName,
AttributeList attributes)
|
void |
unregisterMBean(ObjectName objectName)
|
addNotificationListener
void addNotificationListener(ObjectName observed,
NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws InstanceNotFoundException,
java.io.IOException
- Throws:
InstanceNotFoundException
java.io.IOException
removeNotificationListener
void removeNotificationListener(ObjectName observed,
NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws InstanceNotFoundException,
ListenerNotFoundException,
java.io.IOException
- Throws:
InstanceNotFoundException
ListenerNotFoundException
java.io.IOException
createMBean
ObjectInstance createMBean(java.lang.String className,
ObjectName objectName,
java.lang.Object[] args,
java.lang.String[] parameters)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
InstanceNotFoundException,
java.io.IOException
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
java.io.IOException
createMBean
ObjectInstance createMBean(java.lang.String className,
ObjectName objectName,
ObjectName loaderName,
java.lang.Object[] args,
java.lang.String[] parameters)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
InstanceNotFoundException,
java.io.IOException
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
java.io.IOException
unregisterMBean
void unregisterMBean(ObjectName objectName)
throws InstanceNotFoundException,
MBeanRegistrationException,
java.io.IOException
- Throws:
InstanceNotFoundException
MBeanRegistrationException
java.io.IOException
getAttribute
java.lang.Object getAttribute(ObjectName objectName,
java.lang.String attribute)
throws MBeanException,
AttributeNotFoundException,
InstanceNotFoundException,
ReflectionException,
java.io.IOException
- Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
java.io.IOException
setAttribute
void setAttribute(ObjectName objectName,
Attribute attribute)
throws InstanceNotFoundException,
AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException,
java.io.IOException
- Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
java.io.IOException
getAttributes
AttributeList getAttributes(ObjectName objectName,
java.lang.String[] attributes)
throws InstanceNotFoundException,
ReflectionException,
java.io.IOException
- Throws:
InstanceNotFoundException
ReflectionException
java.io.IOException
setAttributes
AttributeList setAttributes(ObjectName objectName,
AttributeList attributes)
throws InstanceNotFoundException,
ReflectionException,
java.io.IOException
- Throws:
InstanceNotFoundException
ReflectionException
java.io.IOException
invoke
java.lang.Object invoke(ObjectName objectName,
java.lang.String methodName,
java.lang.Object[] args,
java.lang.String[] parameters)
throws InstanceNotFoundException,
MBeanException,
ReflectionException,
java.io.IOException
- Throws:
InstanceNotFoundException
MBeanException
ReflectionException
java.io.IOException
getDefaultDomain
java.lang.String getDefaultDomain()
throws java.io.IOException
- Throws:
java.io.IOException
getMBeanCount
java.lang.Integer getMBeanCount()
throws java.io.IOException
- Throws:
java.io.IOException
isRegistered
boolean isRegistered(ObjectName objectname)
throws java.io.IOException
- Throws:
java.io.IOException
getMBeanInfo
MBeanInfo getMBeanInfo(ObjectName objectName)
throws InstanceNotFoundException,
IntrospectionException,
ReflectionException,
java.io.IOException
- Throws:
InstanceNotFoundException
IntrospectionException
ReflectionException
java.io.IOException
getObjectInstance
ObjectInstance getObjectInstance(ObjectName objectName)
throws InstanceNotFoundException,
java.io.IOException
- Throws:
InstanceNotFoundException
java.io.IOException
isInstanceOf
boolean isInstanceOf(ObjectName objectName,
java.lang.String className)
throws InstanceNotFoundException,
java.io.IOException
- Throws:
InstanceNotFoundException
java.io.IOException
queryMBeans
java.util.Set queryMBeans(ObjectName patternName,
QueryExp filter)
throws java.io.IOException
- Throws:
java.io.IOException
queryNames
java.util.Set queryNames(ObjectName patternName,
QueryExp filter)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2002 MX4J Team. All Rights Reserved.