org.jboss.security.auth.login
Class ModuleOptionContainer
java.lang.Object
org.jboss.security.auth.login.ModuleOptionContainer
- All Implemented Interfaces:
- org.jboss.xb.binding.GenericValueContainer
public class ModuleOptionContainer
- extends Object
- implements org.jboss.xb.binding.GenericValueContainer
ModuleOption declares a constructor that takes name as a parameter while the
value should be set with the setter. This use-case is not supported
out-of-the-box by jbxb, so, we use this container.
- Version:
- $Revision: 57203 $
- Author:
- Alexey Loubyansky
| Nested classes/interfaces inherited from interface org.jboss.xb.binding.GenericValueContainer |
org.jboss.xb.binding.GenericValueContainer.FACTORY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleOptionContainer
public ModuleOptionContainer()
getValue
public Object getValue()
- Returns:
- - the option value
setValue
public void setValue(Object value)
- Setter used when the module option is passed as the text body of the
module-option element.
- Parameters:
value - - text value
addChild
public void addChild(javax.xml.namespace.QName name,
Object value)
- Add attributes or nested element content.
- Specified by:
addChild in interface org.jboss.xb.binding.GenericValueContainer
- Parameters:
name - - the attribute or element namevalue - - the attribute or element value
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 © 2002 JBoss Group, LLC. All Rights Reserved.