Save This Page
Home » axis2-1.5-src » org.apache » axis2 » deployment » [javadoc | source]
org.apache.axis2.deployment
public class: DescriptionBuilder [javadoc | source]
java.lang.Object
   org.apache.axis2.deployment.DescriptionBuilder

All Implemented Interfaces:
    DeploymentConstants

Direct Known Subclasses:
    AxisConfigBuilder, ServiceBuilder, ClusterBuilder, OSGiServiceGroupBuilder, OSGiServiceBuilder, ModuleBuilder, ServiceGroupBuilder

This class does the common tasks for all *Builder class.
Field Summary
protected  ConfigurationContext configCtx     
protected  AxisConfiguration axisConfig     
protected  InputStream descriptionStream     
Constructor:
 public DescriptionBuilder() 
 public DescriptionBuilder(InputStream serviceInputStream,
    ConfigurationContext configCtx) 
 public DescriptionBuilder(InputStream serviceInputStream,
    AxisConfiguration axisConfig) 
Method from org.apache.axis2.deployment.DescriptionBuilder Summary:
buildOM,   findAndValidateSelectorClass,   getLocalPolicyAssertionNames,   getShortFileName,   getValue,   loadDefaultMessageReceiver,   loadMessageReceiver,   processActionMappings,   processFlow,   processHandler,   processHandler,   processMessageBuilders,   processMessageFormatters,   processMessageReceivers,   processMessageReceivers,   processOperationModuleRefs,   processParameters,   processPolicyElements,   processPolicyRefElements,   processSupportedPolicyNamespaces
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.deployment.DescriptionBuilder Detail:
 public OMElement buildOM() throws XMLStreamException 
    Creates OMElement for a given description document (axis2.xml , services.xml and module.xml).
 protected Class findAndValidateSelectorClass(String className,
    String errorMsg) throws PrivilegedActionException 
 protected QName[] getLocalPolicyAssertionNames(OMElement localPolicyAssertionsElement) 
 public static String getShortFileName(String fileName) 
    Gets the short file name. Short file name is the name before the dot.
 protected String getValue(String in) 
    Gets the value of an attribute. eg xsd:anyVal --> anyVal
 protected MessageReceiver loadDefaultMessageReceiver(String mepURL,
    AxisService service) 
    Loads default message receivers. First searches in Axiservice for the given mepURL, if not found searches in AxisConfiguration with the given mepURL.
 protected MessageReceiver loadMessageReceiver(ClassLoader loader,
    OMElement element) throws DeploymentException 
 protected  void processActionMappings(OMElement operation,
    AxisOperation op_descrip) 
    Populate the AxisOperation with details from the actionMapping, outputActionMapping and faultActionMapping elements from the operation element.
 protected Flow processFlow(OMElement flowelement,
    ParameterInclude parent) throws DeploymentException 
    Processes flow elements in services.xml .
 protected HandlerDescription processHandler(OMElement handler_element,
    ParameterInclude parent) throws DeploymentException 
 protected HandlerDescription processHandler(OMElement handler_element,
    ParameterInclude parent,
    String containingPhase) throws DeploymentException 
    Processes Handler element.
 protected HashMap processMessageBuilders(OMElement messageBuildersElement) throws DeploymentException 
    Processes the message builders specified in axis2.xml or services.xml.
 protected HashMap processMessageFormatters(OMElement messageFormattersElement) throws DeploymentException 
    Processes the message builders specified in axis2.xml or services.xml.
 protected HashMap processMessageReceivers(OMElement messageReceivers) throws DeploymentException 
    Processes default message receivers specified either in axis2.xml or services.xml.
 protected HashMap processMessageReceivers(ClassLoader loader,
    OMElement element) throws DeploymentException 
    Processes default message receivers specified either in axis2.xml or services.xml.
 protected  void processOperationModuleRefs(Iterator moduleRefs,
    AxisOperation operation) throws DeploymentException 
 protected  void processParameters(Iterator parameters,
    ParameterInclude parameterInclude,
    ParameterInclude parent) throws DeploymentException 
    Gets the Parameter object from the OM.
 protected  void processPolicyElements(Iterator policyElements,
    PolicySubject policySubject) 
 protected  void processPolicyRefElements(Iterator policyRefElements,
    PolicySubject policySubject) 
 protected String[] processSupportedPolicyNamespaces(OMElement supportedPolicyElements)