Class DefaultWebServiceLoginConfigNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
-
- com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode
-
- org.glassfish.ejb.deployment.node.runtime.DefaultWebServiceLoginConfigNode
-
- All Implemented Interfaces:
XMLNode
public class DefaultWebServiceLoginConfigNode extends RuntimeDescriptorNode
Adds default login configuration to all Web Service EJB nodes- Author:
- lprimak
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description DefaultWebServiceLoginConfigNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
endElement(XMLElement element)
receives notification of the end of an XML element by the ParserObject
getDescriptor()
protected Map
getDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.void
setAuthMethod(String authMethod)
void
setRealm(String realm)
-
Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode
createDescriptor, setElementValue, writeCommonComponentInfo, writeMessageDestinationInfo
-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
-
-
-
-
Method Detail
-
getDispatchTable
protected Map getDispatchTable()
Description copied from class:DeploymentDescriptorNode
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.- Overrides:
getDispatchTable
in classDeploymentDescriptorNode
- Returns:
- the map with the element name as a key, the setter method as a value
-
getDescriptor
public Object getDescriptor()
- Specified by:
getDescriptor
in interfaceXMLNode
- Overrides:
getDescriptor
in classRuntimeDescriptorNode
- Returns:
- the descriptor instance to associate with this XMLNode
-
endElement
public boolean endElement(XMLElement element)
Description copied from class:DeploymentDescriptorNode
receives notification of the end of an XML element by the Parser- Specified by:
endElement
in interfaceXMLNode
- Overrides:
endElement
in classDeploymentDescriptorNode
- Parameters:
element
- the xml tag identification- Returns:
- true if this node is done processing the XML sub tree
-
setRealm
public void setRealm(String realm)
-
setAuthMethod
public void setAuthMethod(String authMethod)
-
-