org.jboss.messaging.core.management.impl
Class AddressControlImpl
java.lang.Object
org.jboss.messaging.core.management.impl.AddressControlImpl
- All Implemented Interfaces:
- AddressControl
public class AddressControlImpl
- extends java.lang.Object
- implements AddressControl
- Version:
- $Revision$
- 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()
|
java.lang.String[] |
getQueueNames()
|
java.lang.Object[] |
getRoles()
|
java.lang.String |
getRolesAsJSON()
|
void |
removeRole(java.lang.String role)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressControlImpl
public AddressControlImpl(SimpleString address,
PostOffice postOffice,
HierarchicalRepository<java.util.Set<Role>> securityRepository)
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
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
removeRole
public void removeRole(java.lang.String role)
throws java.lang.Exception
- Specified by:
removeRole
in interface AddressControl
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.