org.apache.axis2.deployment
Class ServiceBuilder

java.lang.Object
  extended byorg.apache.axis2.deployment.DescriptionBuilder
      extended byorg.apache.axis2.deployment.ServiceBuilder
All Implemented Interfaces:
DeploymentConstants

public class ServiceBuilder
extends DescriptionBuilder

This class is to convert OM->ServiceDescrption , where first create OM from services.xml and then populate service description by using OM


Field Summary
 
Fields inherited from class org.apache.axis2.deployment.DescriptionBuilder
engine, log, serviceInputSteram
 
Fields inherited from interface org.apache.axis2.deployment.DeploymentConstants
AFTER, ATQNAME, ATTLOCKED, ATTNAME, ATUSE, AXIS_STORAGE, AXIS2CONFIG, BEANMAPPINGST, BEFORE, CLASSNAME, CONTEXTPATHNAME, DESCRIPTION, DIPSTCH_ORDER, DIPSTCHER, EXTRACTSERVICEARCHIVE, HANDERST, HOTDEPLOYMENT, HOTUPDATE, IN_FAILTFLOW, INFLOWST, JWS_EXTENSION, LISTENERST, MEP, MESSAGERECEIVER, META_INF, MODULE, MODULE_PATH, MODULECONFIG, MODULEST, MODULEXML, OPRATIONST, ORDER, OUT_FAILTFLOW, OUTFLOWST, PARAMETERST, PHASE, PHASE_ORDER, PHASEFIRST, PHASELAST, PHASEST, REF, SERVICE, SERVICE_ELEMENT, SERVICE_GROUP_ELEMENT, SERVICE_PATH, SERVICETAG, SERVICEWSDL, SERVICEXML, STYLENAME, TRANSPORTRECEIVER, TRANSPORTSENDER, TRANSPORTSTAG, TRANSPORTTAG, TYPE, TYPEMAPPINGST
 
Constructor Summary
ServiceBuilder(DeploymentEngine engine, ServiceDescription service)
           
ServiceBuilder(java.io.InputStream serviceInputSteram, DeploymentEngine engine, ServiceDescription service)
           
 
Method Summary
 void populateService(OMElement service_element)
          top most method that used to populate service from corresponding OM
protected  void processModuleRefs(java.util.Iterator moduleRefs)
          To get the list og modules that is requird to be engage globally
protected  void processOperationModuleConfig(java.util.Iterator moduleConfigs, ParameterInclude parent, OperationDescription opeartion)
           
protected  void processServiceModuleConfig(java.util.Iterator moduleConfigs, ParameterInclude parent, ServiceDescription service)
           
 
Methods inherited from class org.apache.axis2.deployment.DescriptionBuilder
buildOM, getShortFileName, getValue, loadDefaultMessageReciver, loadMessageReceiver, processFlow, processHandler, processOpeasrtionModuleRefs, processParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceBuilder

public ServiceBuilder(java.io.InputStream serviceInputSteram,
                      DeploymentEngine engine,
                      ServiceDescription service)

ServiceBuilder

public ServiceBuilder(DeploymentEngine engine,
                      ServiceDescription service)
Method Detail

populateService

public void populateService(OMElement service_element)
                     throws DeploymentException
top most method that used to populate service from corresponding OM

Throws:
DeploymentException

processServiceModuleConfig

protected void processServiceModuleConfig(java.util.Iterator moduleConfigs,
                                          ParameterInclude parent,
                                          ServiceDescription service)
                                   throws DeploymentException
Throws:
DeploymentException

processOperationModuleConfig

protected void processOperationModuleConfig(java.util.Iterator moduleConfigs,
                                            ParameterInclude parent,
                                            OperationDescription opeartion)
                                     throws DeploymentException
Throws:
DeploymentException

processModuleRefs

protected void processModuleRefs(java.util.Iterator moduleRefs)
                          throws DeploymentException
To get the list og modules that is requird to be engage globally

Parameters:
moduleRefs - java.util.Iterator
Throws:
DeploymentException - DeploymentException