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.ManagementmejbManagement MBean.protected MEJBMBeanServerConnectionFactoryparentParent 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:
addNotificationListenerin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionIOException- 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:
addNotificationListenerin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionIOException- See Also:
MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter,Object)
-
createMBean
public ObjectInstance createMBean(String arg0, ObjectName arg1) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, IOException
- Specified by:
createMBeanin interfaceMBeanServerConnection- Throws:
ReflectionExceptionInstanceAlreadyExistsExceptionMBeanExceptionNotCompliantMBeanExceptionIOException- 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:
createMBeanin interfaceMBeanServerConnection- Throws:
ReflectionExceptionInstanceAlreadyExistsExceptionMBeanExceptionNotCompliantMBeanExceptionIOException- 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:
getAttributein interfaceMBeanServerConnection- Throws:
MBeanExceptionAttributeNotFoundExceptionInstanceNotFoundExceptionReflectionExceptionIOException- See Also:
MBeanServerConnection.getAttribute(ObjectName, String)
-
getAttributes
public AttributeList getAttributes(ObjectName arg0, String[] arg1) throws InstanceNotFoundException, ReflectionException, IOException
- Specified by:
getAttributesin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionReflectionExceptionIOException- See Also:
MBeanServerConnection.getAttributes(ObjectName, String[])
-
getDefaultDomain
public String getDefaultDomain() throws IOException
- Specified by:
getDefaultDomainin interfaceMBeanServerConnection- Throws:
IOException- See Also:
MBeanServerConnection.getDefaultDomain()
-
getDomains
public String[] getDomains() throws IOException
- Specified by:
getDomainsin interfaceMBeanServerConnection- Throws:
IOException- See Also:
MBeanServerConnection.getDomains()
-
getMBeanCount
public Integer getMBeanCount() throws IOException
- Specified by:
getMBeanCountin interfaceMBeanServerConnection- Throws:
IOException- See Also:
MBeanServerConnection.getMBeanCount()
-
getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName arg0) throws InstanceNotFoundException, IntrospectionException, ReflectionException, IOException
- Specified by:
getMBeanInfoin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionIntrospectionExceptionReflectionExceptionIOException- See Also:
MBeanServerConnection.getMBeanInfo(ObjectName)
-
getObjectInstance
public ObjectInstance getObjectInstance(ObjectName arg0) throws InstanceNotFoundException, IOException
- Specified by:
getObjectInstancein interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionIOException- See Also:
MBeanServerConnection.getObjectInstance(ObjectName)
-
invoke
public Object invoke(ObjectName arg0, String arg1, Object[] arg2, String[] arg3) throws InstanceNotFoundException, MBeanException, ReflectionException, IOException
- Specified by:
invokein interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionMBeanExceptionReflectionExceptionIOException- See Also:
MBeanServerConnection.invoke(ObjectName, String, Object[], String[])
-
isInstanceOf
public boolean isInstanceOf(ObjectName arg0, String arg1) throws InstanceNotFoundException, IOException
- Specified by:
isInstanceOfin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionIOException- See Also:
MBeanServerConnection.isInstanceOf(ObjectName, String)
-
isRegistered
public boolean isRegistered(ObjectName arg0) throws IOException
- Specified by:
isRegisteredin interfaceMBeanServerConnection- Throws:
IOException- See Also:
MBeanServerConnection.isRegistered(ObjectName)
-
queryMBeans
public Set<ObjectInstance> queryMBeans(ObjectName arg0, QueryExp arg1) throws IOException
- Specified by:
queryMBeansin interfaceMBeanServerConnection- Throws:
IOException- See Also:
MBeanServerConnection.queryMBeans(ObjectName, QueryExp)
-
queryNames
public Set<ObjectName> queryNames(ObjectName arg0, QueryExp arg1) throws IOException
- Specified by:
queryNamesin interfaceMBeanServerConnection- Throws:
IOException- See Also:
MBeanServerConnection.queryNames(ObjectName, QueryExp)
-
removeNotificationListener
public void removeNotificationListener(ObjectName arg0, ObjectName arg1) throws InstanceNotFoundException, ListenerNotFoundException, IOException
- Specified by:
removeNotificationListenerin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionListenerNotFoundExceptionIOException- See Also:
MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName)
-
removeNotificationListener
public void removeNotificationListener(ObjectName arg0, NotificationListener arg1) throws InstanceNotFoundException, ListenerNotFoundException, IOException
- Specified by:
removeNotificationListenerin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionListenerNotFoundExceptionIOException- 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:
setAttributesin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionReflectionExceptionIOException- See Also:
MBeanServerConnection.setAttributes(ObjectName, AttributeList)
-
unregisterMBean
public void unregisterMBean(ObjectName arg0) throws InstanceNotFoundException, MBeanRegistrationException, IOException
- Specified by:
unregisterMBeanin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionMBeanRegistrationExceptionIOException- See Also:
MBeanServerConnection.unregisterMBean(ObjectName)
-
-