org.jboss.messaging.core.management.jmx.impl
Class ReplicationAwareAddressControlWrapper
java.lang.Object
javax.management.StandardMBean
org.jboss.messaging.core.management.jmx.impl.ReplicationAwareStandardMBeanWrapper
org.jboss.messaging.core.management.jmx.impl.ReplicationAwareAddressControlWrapper
- All Implemented Interfaces:
- javax.management.DynamicMBean, AddressControl
public class ReplicationAwareAddressControlWrapper
- extends ReplicationAwareStandardMBeanWrapper
- implements AddressControl
A ReplicationAwareAddressControlWrapper
- Author:
- Jeff Mesnil
Method Summary |
void |
addRole(java.lang.String name,
boolean send,
boolean consume,
boolean createDurableQueue,
boolean deleteDurableQueue,
boolean createNonDurableQueue,
boolean deleteNonDurableQueue,
boolean manage)
|
java.lang.String |
getAddress()
|
javax.management.MBeanInfo |
getMBeanInfo()
|
java.lang.String[] |
getQueueNames()
|
java.lang.Object[] |
getRoles()
|
java.lang.String |
getRolesAsJSON()
|
void |
removeRole(java.lang.String name)
|
Methods inherited from class javax.management.StandardMBean |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicationAwareAddressControlWrapper
public ReplicationAwareAddressControlWrapper(AddressControlImpl localAddressControl,
ReplicationOperationInvoker replicationInvoker)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAddress
public java.lang.String getAddress()
- Specified by:
getAddress
in interface AddressControl
getQueueNames
public java.lang.String[] getQueueNames()
throws java.lang.Exception
- Specified by:
getQueueNames
in interface AddressControl
- Throws:
java.lang.Exception
getRoles
public java.lang.Object[] getRoles()
throws java.lang.Exception
- Specified by:
getRoles
in interface AddressControl
- Throws:
java.lang.Exception
getRolesAsJSON
public java.lang.String getRolesAsJSON()
throws java.lang.Exception
- Specified by:
getRolesAsJSON
in interface AddressControl
- Throws:
java.lang.Exception
removeRole
public void removeRole(java.lang.String name)
throws java.lang.Exception
- Specified by:
removeRole
in interface AddressControl
- Throws:
java.lang.Exception
addRole
public void addRole(java.lang.String name,
boolean send,
boolean consume,
boolean createDurableQueue,
boolean deleteDurableQueue,
boolean createNonDurableQueue,
boolean deleteNonDurableQueue,
boolean manage)
throws java.lang.Exception
- Specified by:
addRole
in interface AddressControl
- Throws:
java.lang.Exception
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface javax.management.DynamicMBean
- Overrides:
getMBeanInfo
in class javax.management.StandardMBean
Copyright © 2006 JBoss Inc. All Rights Reserved.