org.jboss.security.acl.config
Class ACLProviderEntryHolder

java.lang.Object
  extended by org.jboss.security.acl.config.ACLProviderEntryHolder
All Implemented Interfaces:
org.jboss.xb.binding.GenericValueContainer

public class ACLProviderEntryHolder
extends Object
implements org.jboss.xb.binding.GenericValueContainer

A container for creating ACLProviderEntry objects when an application policy that specifies ACL modules is parsed by JBoss XB.

Author:
Stefan Guilhen

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.xb.binding.GenericValueContainer
org.jboss.xb.binding.GenericValueContainer.FACTORY
 
Constructor Summary
ACLProviderEntryHolder()
           
 
Method Summary
 void addChild(QName name, Object value)
           
 void addOption(org.jboss.security.config.ModuleOption option)
           Adds the specified option to the set of options used by the ACLProvider.
 ACLProviderEntry getEntry()
           Constructs and returns an ACLProviderEntry with the information contained in this class.
 Class<?> getTargetClass()
           
 Object instantiate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLProviderEntryHolder

public ACLProviderEntryHolder()
Method Detail

addChild

public void addChild(QName name,
                     Object value)
Specified by:
addChild in interface org.jboss.xb.binding.GenericValueContainer

addOption

public void addOption(org.jboss.security.config.ModuleOption option)

Adds the specified option to the set of options used by the ACLProvider.

Parameters:
option - a ModuleOption instance representing the option to be added.

getEntry

public ACLProviderEntry getEntry()

Constructs and returns an ACLProviderEntry with the information contained in this class.

Returns:
a reference to the constructed ACLProviderEntry object.

instantiate

public Object instantiate()
Specified by:
instantiate in interface org.jboss.xb.binding.GenericValueContainer

getTargetClass

public Class<?> getTargetClass()
Specified by:
getTargetClass in interface org.jboss.xb.binding.GenericValueContainer


Copyright © 2009 JBoss Inc.. All Rights Reserved.