|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.deployment.DescriptionBuilder
public class DescriptionBuilder
This class does the common tasks for all *Builder class.
Field Summary | |
---|---|
protected AxisConfiguration |
axisConfig
|
protected ConfigurationContext |
configCtx
|
protected java.io.InputStream |
descriptionStream
|
Constructor Summary | |
---|---|
DescriptionBuilder()
|
|
DescriptionBuilder(java.io.InputStream serviceInputStream,
AxisConfiguration axisConfig)
|
|
DescriptionBuilder(java.io.InputStream serviceInputStream,
ConfigurationContext configCtx)
|
Method Summary | |
---|---|
org.apache.axiom.om.OMElement |
buildOM()
Creates OMElement for a given description document (axis2.xml , services.xml and module.xml). |
protected java.lang.Class |
findAndValidateSelectorClass(java.lang.String className,
java.lang.String errorMsg)
|
protected QName[] |
getLocalPolicyAssertionNames(org.apache.axiom.om.OMElement localPolicyAssertionsElement)
|
static java.lang.String |
getShortFileName(java.lang.String fileName)
Gets the short file name. |
protected java.lang.String |
getValue(java.lang.String in)
Gets the value of an attribute. |
protected MessageReceiver |
loadDefaultMessageReceiver(java.lang.String mepURL,
AxisService service)
Loads default message receivers. |
protected MessageReceiver |
loadMessageReceiver(java.lang.ClassLoader loader,
org.apache.axiom.om.OMElement element)
|
protected void |
processActionMappings(org.apache.axiom.om.OMElement operation,
AxisOperation op_descrip)
Populate the AxisOperation with details from the actionMapping, outputActionMapping and faultActionMapping elements from the operation element. |
protected Flow |
processFlow(org.apache.axiom.om.OMElement flowelement,
ParameterInclude parent)
Processes flow elements in services.xml . |
protected HandlerDescription |
processHandler(org.apache.axiom.om.OMElement handler_element,
ParameterInclude parent)
|
protected HandlerDescription |
processHandler(org.apache.axiom.om.OMElement handler_element,
ParameterInclude parent,
java.lang.String containingPhase)
Processes Handler element. |
protected java.util.HashMap |
processMessageBuilders(org.apache.axiom.om.OMElement messageBuildersElement)
Processes the message builders specified in axis2.xml or services.xml. |
protected java.util.HashMap |
processMessageFormatters(org.apache.axiom.om.OMElement messageFormattersElement)
Processes the message builders specified in axis2.xml or services.xml. |
protected java.util.HashMap |
processMessageReceivers(java.lang.ClassLoader loader,
org.apache.axiom.om.OMElement element)
Processes default message receivers specified either in axis2.xml or services.xml. |
protected java.util.HashMap |
processMessageReceivers(org.apache.axiom.om.OMElement messageReceivers)
Processes default message receivers specified either in axis2.xml or services.xml. |
protected void |
processOperationModuleRefs(java.util.Iterator moduleRefs,
AxisOperation operation)
|
protected void |
processParameters(java.util.Iterator parameters,
ParameterInclude parameterInclude,
ParameterInclude parent)
Gets the Parameter object from the OM. |
protected void |
processPolicyElements(java.util.Iterator policyElements,
PolicySubject policySubject)
|
protected void |
processPolicyRefElements(java.util.Iterator policyRefElements,
PolicySubject policySubject)
|
protected java.lang.String[] |
processSupportedPolicyNamespaces(org.apache.axiom.om.OMElement supportedPolicyElements)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ConfigurationContext configCtx
protected AxisConfiguration axisConfig
protected java.io.InputStream descriptionStream
Constructor Detail |
---|
public DescriptionBuilder()
public DescriptionBuilder(java.io.InputStream serviceInputStream, ConfigurationContext configCtx)
public DescriptionBuilder(java.io.InputStream serviceInputStream, AxisConfiguration axisConfig)
Method Detail |
---|
public org.apache.axiom.om.OMElement buildOM() throws javax.xml.stream.XMLStreamException
OMElement
.
javax.xml.stream.XMLStreamException
protected MessageReceiver loadDefaultMessageReceiver(java.lang.String mepURL, AxisService service)
mepURL
- :
can be nullservice
- :
This can be null AxisService
protected java.util.HashMap processMessageReceivers(org.apache.axiom.om.OMElement messageReceivers) throws DeploymentException
DeploymentException
protected java.util.HashMap processMessageReceivers(java.lang.ClassLoader loader, org.apache.axiom.om.OMElement element) throws DeploymentException
DeploymentException
protected MessageReceiver loadMessageReceiver(java.lang.ClassLoader loader, org.apache.axiom.om.OMElement element) throws DeploymentException
DeploymentException
protected java.util.HashMap processMessageBuilders(org.apache.axiom.om.OMElement messageBuildersElement) throws DeploymentException
messageBuildersElement
-
DeploymentException
protected java.util.HashMap processMessageFormatters(org.apache.axiom.om.OMElement messageFormattersElement) throws DeploymentException
DeploymentException
protected java.lang.Class findAndValidateSelectorClass(java.lang.String className, java.lang.String errorMsg) throws java.security.PrivilegedActionException
java.security.PrivilegedActionException
protected Flow processFlow(org.apache.axiom.om.OMElement flowelement, ParameterInclude parent) throws DeploymentException
flowelement
- OMElement
DeploymentException
- DeploymentException
protected java.lang.String[] processSupportedPolicyNamespaces(org.apache.axiom.om.OMElement supportedPolicyElements)
protected QName[] getLocalPolicyAssertionNames(org.apache.axiom.om.OMElement localPolicyAssertionsElement)
protected HandlerDescription processHandler(org.apache.axiom.om.OMElement handler_element, ParameterInclude parent) throws DeploymentException
DeploymentException
protected HandlerDescription processHandler(org.apache.axiom.om.OMElement handler_element, ParameterInclude parent, java.lang.String containingPhase) throws DeploymentException
handler_element
- OMElement
DeploymentException
- DeploymentException
protected void processOperationModuleRefs(java.util.Iterator moduleRefs, AxisOperation operation) throws DeploymentException
DeploymentException
protected void processParameters(java.util.Iterator parameters, ParameterInclude parameterInclude, ParameterInclude parent) throws DeploymentException
parameters
- Parameter
parameterInclude
- ParameterInclude
parent
- ParameterInclude
DeploymentException
protected void processActionMappings(org.apache.axiom.om.OMElement operation, AxisOperation op_descrip)
operation
- op_descrip
- protected void processPolicyElements(java.util.Iterator policyElements, PolicySubject policySubject)
protected void processPolicyRefElements(java.util.Iterator policyRefElements, PolicySubject policySubject)
public static java.lang.String getShortFileName(java.lang.String fileName)
fileName
-
protected java.lang.String getValue(java.lang.String in)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |