|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.deployment.DeploymentEngine
Field Summary | |
protected static java.lang.String |
AXIS2_CONFIGURATION_RESOURCE
Resource that contains the configuration |
java.lang.String |
axis2repository
|
protected static java.lang.String |
SERVER_XML_FILE
|
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 | |
DeploymentEngine()
Default constructor is need to deploye module and service programatically |
|
DeploymentEngine(java.lang.String repositoryName)
This the constructor which is used by Engine inorder to start Deploymenat module, |
|
DeploymentEngine(java.lang.String repositoryName,
java.lang.String serverXMLFile)
|
Method Summary | |
void |
addModule(javax.xml.namespace.QName moduleName)
while parsing the axis2.xml the module refferences have to be store some where , since at that time none of module availble (they load after parsing the document) |
void |
addWSToDeploy(ArchiveFileData file)
|
void |
addWSToUndeploy(WSInfo file)
|
ModuleDescription |
buildModule(java.io.File modulearchive)
This method can be used to build ModuleDescription for a given module archiev file |
ServiceDescription |
buildService(ServiceDescription axisService,
java.io.InputStream serviceInputStream,
java.lang.ClassLoader classLoader)
This method is used to fill a axisservice object using services.xml , first it should create an axisservice object using WSDL and then fill that using given servic.xml and load all the requed class and build the chains , finally add the servicecontext to EngineContext and axisservice into EngineConfiguration |
void |
doDeploy()
|
AxisConfiguration |
getAxisConfig()
tio get ER |
ArchiveFileData |
getCurrentFileItem()
|
java.lang.Class |
getHandlerClass(java.lang.String className,
java.lang.ClassLoader loader1)
|
ModuleDescription |
getModule(javax.xml.namespace.QName moduleName)
|
PhasesInfo |
getPhasesinfo()
|
boolean |
isHotUpdate()
|
AxisConfiguration |
load()
|
AxisConfiguration |
loadClient(java.lang.String clientHome)
|
void |
setPhasesinfo(PhasesInfo phasesinfo)
|
void |
unDeploy()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String axis2repository
protected static final java.lang.String AXIS2_CONFIGURATION_RESOURCE
protected static final java.lang.String SERVER_XML_FILE
Constructor Detail |
public DeploymentEngine()
public DeploymentEngine(java.lang.String repositoryName) throws DeploymentException
repositoryName
- is the path to which Repositary Listner should
listent.public DeploymentEngine(java.lang.String repositoryName, java.lang.String serverXMLFile) throws DeploymentException
Method Detail |
public ArchiveFileData getCurrentFileItem()
public AxisConfiguration getAxisConfig()
AxisConfiguration
public AxisConfiguration load() throws DeploymentException
DeploymentException
public AxisConfiguration loadClient(java.lang.String clientHome) throws DeploymentException
DeploymentException
public ModuleDescription getModule(javax.xml.namespace.QName moduleName) throws AxisFault
AxisFault
public java.lang.Class getHandlerClass(java.lang.String className, java.lang.ClassLoader loader1) throws AxisFault
AxisFault
public void addWSToDeploy(ArchiveFileData file)
file
- public void addWSToUndeploy(WSInfo file)
file
- public void doDeploy()
public void unDeploy()
public boolean isHotUpdate()
public void addModule(javax.xml.namespace.QName moduleName)
moduleName
- QName
public PhasesInfo getPhasesinfo()
public void setPhasesinfo(PhasesInfo phasesinfo)
public ServiceDescription buildService(ServiceDescription axisService, java.io.InputStream serviceInputStream, java.lang.ClassLoader classLoader) throws DeploymentException
axisService
- serviceInputStream
- classLoader
-
DeploymentException
public ModuleDescription buildModule(java.io.File modulearchive) throws DeploymentException
modulearchive
-
DeploymentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |