|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.deployment.DescriptionBuilder
This class does the common tasks for all *Builder class.
Field Summary | |
protected AxisConfiguration |
axisConfig
|
protected InputStream |
descriptionStream
|
protected org.apache.commons.logging.Log |
log
|
Constructor Summary | |
DescriptionBuilder()
|
|
DescriptionBuilder(InputStream serviceInputStream,
AxisConfiguration axisConfig)
|
Method Summary | |
org.apache.ws.commons.om.OMElement |
buildOM()
Creates OMElement for a given description document (axis2.xml , services.xml and module.xml). |
static String |
getShortFileName(String fileName)
Gets the short file name. |
protected String |
getValue(String in)
Gets the value of an attribute. |
protected MessageReceiver |
loadDefaultMessageReceiver(String mepURL,
AxisService service)
Loads default message receivers. |
protected MessageReceiver |
loadMessageReceiver(ClassLoader loader,
org.apache.ws.commons.om.OMElement element)
|
protected Flow |
processFlow(org.apache.ws.commons.om.OMElement flowelement,
ParameterInclude parent)
Processes flow elements in services.xml . |
protected HandlerDescription |
processHandler(org.apache.ws.commons.om.OMElement handler_element,
ParameterInclude parent)
Processes Handler element. |
protected HashMap |
processMessageReceivers(ClassLoader loader,
org.apache.ws.commons.om.OMElement element)
Processes default message receivers specified either in axis2.xml or services.xml. |
protected HashMap |
processMessageReceivers(org.apache.ws.commons.om.OMElement messageReceivers)
Processes default message receivers specified either in axis2.xml or services.xml. |
protected void |
processOperationModuleRefs(Iterator moduleRefs,
AxisOperation operation)
|
protected void |
processParameters(Iterator parameters,
ParameterInclude parameterInclude,
ParameterInclude parent)
Gets the Parameter object from the OM. |
protected void |
processPolicyElements(int type,
Iterator policyElements,
PolicyInclude policyInclude)
|
protected void |
processPolicyRefElements(int type,
Iterator policyRefElements,
PolicyInclude policyInclude)
|
protected String[] |
processSupportedPolicyNamespaces(org.apache.ws.commons.om.OMElement supportedPolicyElements)
|
protected ArrayList |
processWsaMapping(Iterator mappingIterator)
To process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.commons.logging.Log log
protected AxisConfiguration axisConfig
protected InputStream descriptionStream
Constructor Detail |
public DescriptionBuilder()
public DescriptionBuilder(InputStream serviceInputStream, AxisConfiguration axisConfig)
Method Detail |
public org.apache.ws.commons.om.OMElement buildOM() throws XMLStreamException
OMElement
.
XMLStreamException
protected MessageReceiver loadDefaultMessageReceiver(String mepURL, AxisService service)
mepURL
- : can be nullservice
- : This can be null AxisService
protected HashMap processMessageReceivers(org.apache.ws.commons.om.OMElement messageReceivers) throws DeploymentException
messageReceivers
-
DeploymentException
protected HashMap processMessageReceivers(ClassLoader loader, org.apache.ws.commons.om.OMElement element) throws DeploymentException
element
-
DeploymentException
protected MessageReceiver loadMessageReceiver(ClassLoader loader, org.apache.ws.commons.om.OMElement element) throws DeploymentException
DeploymentException
protected Flow processFlow(org.apache.ws.commons.om.OMElement flowelement, ParameterInclude parent) throws DeploymentException
flowelement
- OMElement
DeploymentException
- DeploymentException
protected String[] processSupportedPolicyNamespaces(org.apache.ws.commons.om.OMElement supportedPolicyElements)
protected HandlerDescription processHandler(org.apache.ws.commons.om.OMElement handler_element, ParameterInclude parent) throws DeploymentException
handler_element
- OMElement
DeploymentException
- DeploymentException
protected void processOperationModuleRefs(Iterator moduleRefs, AxisOperation operation) throws DeploymentException
DeploymentException
protected void processParameters(Iterator parameters, ParameterInclude parameterInclude, ParameterInclude parent) throws DeploymentException
parameters
- Parameter
parameterInclude
- ParameterInclude
parent
- ParameterInclude
DeploymentException
protected ArrayList processWsaMapping(Iterator mappingIterator)
mappingIterator
-
protected void processPolicyElements(int type, Iterator policyElements, PolicyInclude policyInclude)
protected void processPolicyRefElements(int type, Iterator policyRefElements, PolicyInclude policyInclude)
public static String getShortFileName(String fileName)
fileName
-
protected String getValue(String in)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |