|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.security.acl.config.ACLDefinition
public class ACLDefinition
A container for holding the contents parsed from a <acl-definition> section of jboss-acl.xml.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.xb.binding.GenericValueContainer |
|---|
org.jboss.xb.binding.GenericValueContainer.FACTORY |
| Constructor Summary | |
|---|---|
ACLDefinition()
|
|
| Method Summary | |
|---|---|
void |
addACLEntry(Object entry)
Adds a parsed ACLEntry to the list of entries of this ACLDefinition. |
void |
addChild(QName name,
Object value)
|
boolean |
equals(Object obj)
|
String |
getBaseResource()
Obtains the configured <acl-definition> base-resource, as per the extends attribute in the XML
file. |
Set<org.jboss.security.acl.ACLEntry> |
getEntries()
Obtains the ACL entries that have been configured in this ACL definition. |
String |
getResource()
Obtains the configured <acl-definition> resource. |
Class<?> |
getTargetClass()
|
int |
hashCode()
|
Object |
instantiate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ACLDefinition()
| Method Detail |
|---|
public void addChild(QName name,
Object value)
addChild in interface org.jboss.xb.binding.GenericValueContainerpublic Object instantiate()
instantiate in interface org.jboss.xb.binding.GenericValueContainerpublic Class<?> getTargetClass()
getTargetClass in interface org.jboss.xb.binding.GenericValueContainerpublic void addACLEntry(Object entry)
Adds a parsed ACLEntry to the list of entries of this ACLDefinition.
entry - the ACLEntry to be added.public String getResource()
Obtains the configured <acl-definition> resource.
String containing the resource as configured in the XML file.public String getBaseResource()
Obtains the configured <acl-definition> base-resource, as per the extends attribute in the XML
file.
String containing the base-resource as configured in the XML file, or null if no base
resource is available.public Set<org.jboss.security.acl.ACLEntry> getEntries()
Obtains the ACL entries that have been configured in this ACL definition.
List<ACLEntry> containing the configured entries.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||