Class MEJBMBeanServerConnectionFactory.MEJBProxy
- java.lang.Object
-
- org.codehaus.cargo.container.jonas.internal.MEJBMBeanServerConnectionFactory.MEJBProxy
-
- All Implemented Interfaces:
MBeanServerConnection
- Enclosing class:
- MEJBMBeanServerConnectionFactory
protected static class MEJBMBeanServerConnectionFactory.MEJBProxy extends Object implements MBeanServerConnection
MEJB proxy.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.management.j2ee.Management
mejb
Management MBean.protected MEJBMBeanServerConnectionFactory
parent
Parent MEJB MBean connection factory object.
-
Constructor Summary
Constructors Constructor Description MEJBProxy(javax.management.j2ee.Management mejb, MEJBMBeanServerConnectionFactory parent)
Constructor.
-
Method Summary
-
-
-
Field Detail
-
mejb
protected javax.management.j2ee.Management mejb
Management MBean.
-
parent
protected MEJBMBeanServerConnectionFactory parent
Parent MEJB MBean connection factory object.
-
-
Constructor Detail
-
MEJBProxy
public MEJBProxy(javax.management.j2ee.Management mejb, MEJBMBeanServerConnectionFactory parent)
Constructor.- Parameters:
mejb
- Management MBean.parent
- Parent MEJB MBean connection factory object.
-
-
Method Detail
-
addNotificationListener
public void addNotificationListener(ObjectName arg0, NotificationListener arg1, NotificationFilter arg2, Object arg3) throws InstanceNotFoundException, IOException
- Specified by:
addNotificationListener
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
IOException
- See Also:
MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter,Object)
-
addNotificationListener
public void addNotificationListener(ObjectName arg0, ObjectName arg1, NotificationFilter arg2, Object arg3) throws InstanceNotFoundException, IOException
- Specified by:
addNotificationListener
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
IOException
- See Also:
MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter,Object)
-
createMBean
public ObjectInstance createMBean(String arg0, ObjectName arg1) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, IOException
- Specified by:
createMBean
in interfaceMBeanServerConnection
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanException
NotCompliantMBeanException
IOException
- See Also:
MBeanServerConnection.createMBean(String, ObjectName)
-
createMBean
public ObjectInstance createMBean(String arg0, ObjectName arg1, ObjectName arg2) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException, IOException
-
createMBean
public ObjectInstance createMBean(String arg0, ObjectName arg1, Object[] arg2, String[] arg3) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, IOException
- Specified by:
createMBean
in interfaceMBeanServerConnection
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanException
NotCompliantMBeanException
IOException
- See Also:
MBeanServerConnection.createMBean(String, ObjectName, Object[], String[])
-
createMBean
public ObjectInstance createMBean(String arg0, ObjectName arg1, ObjectName arg2, Object[] arg3, String[] arg4) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException, IOException
-
getAttribute
public Object getAttribute(ObjectName arg0, String arg1) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, IOException
- Specified by:
getAttribute
in interfaceMBeanServerConnection
- Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
IOException
- See Also:
MBeanServerConnection.getAttribute(ObjectName, String)
-
getAttributes
public AttributeList getAttributes(ObjectName arg0, String[] arg1) throws InstanceNotFoundException, ReflectionException, IOException
- Specified by:
getAttributes
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
ReflectionException
IOException
- See Also:
MBeanServerConnection.getAttributes(ObjectName, String[])
-
getDefaultDomain
public String getDefaultDomain() throws IOException
- Specified by:
getDefaultDomain
in interfaceMBeanServerConnection
- Throws:
IOException
- See Also:
MBeanServerConnection.getDefaultDomain()
-
getDomains
public String[] getDomains() throws IOException
- Specified by:
getDomains
in interfaceMBeanServerConnection
- Throws:
IOException
- See Also:
MBeanServerConnection.getDomains()
-
getMBeanCount
public Integer getMBeanCount() throws IOException
- Specified by:
getMBeanCount
in interfaceMBeanServerConnection
- Throws:
IOException
- See Also:
MBeanServerConnection.getMBeanCount()
-
getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName arg0) throws InstanceNotFoundException, IntrospectionException, ReflectionException, IOException
- Specified by:
getMBeanInfo
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
IntrospectionException
ReflectionException
IOException
- See Also:
MBeanServerConnection.getMBeanInfo(ObjectName)
-
getObjectInstance
public ObjectInstance getObjectInstance(ObjectName arg0) throws InstanceNotFoundException, IOException
- Specified by:
getObjectInstance
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
IOException
- See Also:
MBeanServerConnection.getObjectInstance(ObjectName)
-
invoke
public Object invoke(ObjectName arg0, String arg1, Object[] arg2, String[] arg3) throws InstanceNotFoundException, MBeanException, ReflectionException, IOException
- Specified by:
invoke
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
MBeanException
ReflectionException
IOException
- See Also:
MBeanServerConnection.invoke(ObjectName, String, Object[], String[])
-
isInstanceOf
public boolean isInstanceOf(ObjectName arg0, String arg1) throws InstanceNotFoundException, IOException
- Specified by:
isInstanceOf
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
IOException
- See Also:
MBeanServerConnection.isInstanceOf(ObjectName, String)
-
isRegistered
public boolean isRegistered(ObjectName arg0) throws IOException
- Specified by:
isRegistered
in interfaceMBeanServerConnection
- Throws:
IOException
- See Also:
MBeanServerConnection.isRegistered(ObjectName)
-
queryMBeans
public Set<ObjectInstance> queryMBeans(ObjectName arg0, QueryExp arg1) throws IOException
- Specified by:
queryMBeans
in interfaceMBeanServerConnection
- Throws:
IOException
- See Also:
MBeanServerConnection.queryMBeans(ObjectName, QueryExp)
-
queryNames
public Set<ObjectName> queryNames(ObjectName arg0, QueryExp arg1) throws IOException
- Specified by:
queryNames
in interfaceMBeanServerConnection
- Throws:
IOException
- See Also:
MBeanServerConnection.queryNames(ObjectName, QueryExp)
-
removeNotificationListener
public void removeNotificationListener(ObjectName arg0, ObjectName arg1) throws InstanceNotFoundException, ListenerNotFoundException, IOException
- Specified by:
removeNotificationListener
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
ListenerNotFoundException
IOException
- See Also:
MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName)
-
removeNotificationListener
public void removeNotificationListener(ObjectName arg0, NotificationListener arg1) throws InstanceNotFoundException, ListenerNotFoundException, IOException
- Specified by:
removeNotificationListener
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
ListenerNotFoundException
IOException
- See Also:
MBeanServerConnection.removeNotificationListener(ObjectName, NotificationListener)
-
removeNotificationListener
public void removeNotificationListener(ObjectName arg0, ObjectName arg1, NotificationFilter arg2, Object arg3) throws InstanceNotFoundException, ListenerNotFoundException, IOException
-
removeNotificationListener
public void removeNotificationListener(ObjectName arg0, NotificationListener arg1, NotificationFilter arg2, Object arg3) throws InstanceNotFoundException, ListenerNotFoundException, IOException
-
setAttribute
public void setAttribute(ObjectName arg0, Attribute arg1) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException, IOException
-
setAttributes
public AttributeList setAttributes(ObjectName arg0, AttributeList arg1) throws InstanceNotFoundException, ReflectionException, IOException
- Specified by:
setAttributes
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
ReflectionException
IOException
- See Also:
MBeanServerConnection.setAttributes(ObjectName, AttributeList)
-
unregisterMBean
public void unregisterMBean(ObjectName arg0) throws InstanceNotFoundException, MBeanRegistrationException, IOException
- Specified by:
unregisterMBean
in interfaceMBeanServerConnection
- Throws:
InstanceNotFoundException
MBeanRegistrationException
IOException
- See Also:
MBeanServerConnection.unregisterMBean(ObjectName)
-
-