org.objectweb.jonas_ejb.deployment.xml
Class AsContextMapping

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ejb.deployment.xml.AsContextMapping
All Implemented Interfaces:
java.io.Serializable, Element

public class AsContextMapping
extends AbsElement

This class defines the implementation of the element as-context

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
AsContextMapping()
          Constructor
 
Method Summary
 java.lang.String getAuthMethod()
           
 java.lang.String getRealm()
           
 java.lang.String getRequired()
           
 void setAuthMethod(java.lang.String authMethod)
           
 void setRealm(java.lang.String realm)
           
 void setRequired(java.lang.String required)
           
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsContextMapping

public AsContextMapping()
Constructor

Method Detail

getAuthMethod

public java.lang.String getAuthMethod()
Returns:
Returns the authMethod.

setAuthMethod

public void setAuthMethod(java.lang.String authMethod)
Parameters:
authMethod - The authMethod to set.

getRealm

public java.lang.String getRealm()
Returns:
Returns the realm.

setRealm

public void setRealm(java.lang.String realm)
Parameters:
realm - The realm to set.

getRequired

public java.lang.String getRequired()
Returns:
Returns the required.

setRequired

public void setRequired(java.lang.String required)
Parameters:
required - The required to set.

toXML

public java.lang.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.