org.ow2.jonas.deployment.ejb.xml
Class AsContextMapping
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.ejb.xml.AsContextMapping
- All Implemented Interfaces:
- Serializable, Element
public class AsContextMapping
- extends AbsElement
This class defines the implementation of the element as-context
- Author:
- JOnAS team
- See Also:
- Serialized Form
AsContextMapping
public AsContextMapping()
- Constructor
getAuthMethod
public String getAuthMethod()
- Returns:
- Returns the authMethod.
setAuthMethod
public void setAuthMethod(String authMethod)
- Parameters:
authMethod
- The authMethod to set.
getRealm
public String getRealm()
- Returns:
- Returns the realm.
setRealm
public void setRealm(String realm)
- Parameters:
realm
- The realm to set.
getRequired
public String getRequired()
- Returns:
- Returns the required.
setRequired
public void setRequired(String required)
- Parameters:
required
- The required to set.
toXML
public String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prexifing XML representation.
- Returns:
- the XML description of this object.
Copyright © 2010 OW2 Consortium. All Rights Reserved.