|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.deployment.DeploymentEngine
public class DeploymentEngine
Field Summary | |
---|---|
protected AxisConfiguration |
axisConfig
to keep a ref to engine register this ref will pass to engine when it call start() method |
protected ConfigurationContext |
configContext
|
Constructor Summary | |
---|---|
DeploymentEngine()
|
Method Summary | |
---|---|
void |
addWSToDeploy(ArchiveFileData file)
|
void |
addWSToUndeploy(WSInfo file)
|
static AxisModule |
buildModule(File modulearchive,
AxisConfiguration config)
Builds ModuleDescription for a given module archive file. |
static AxisService |
buildService(InputStream serviceInputStream,
ClassLoader classLoader,
ConfigurationContext configCtx)
Fills an axisservice object using services.xml. |
static AxisServiceGroup |
buildServiceGroup(InputStream servicesxml,
ClassLoader classLoader,
String serviceGroupName,
ConfigurationContext configCtx,
ArchiveReader archiveReader,
HashMap wsdlServices)
To build a AxisServiceGroup for a given services.xml You have to add the created group into AxisConfig |
void |
doDeploy()
|
void |
engageModules()
Checks if the modules, referred by server.xml, exist or that they are deployed. |
AxisConfiguration |
getAxisConfig()
Gets AxisConfiguration. |
AxisModule |
getModule(QName moduleName)
|
File |
getModulesDir()
|
File |
getServicesDir()
|
String |
getWebLocationString()
|
boolean |
isAntiJARLocking()
|
boolean |
isHotUpdate()
|
protected MessageReceiver |
loadDefaultMessageReceiver(String mepURL,
AxisService service)
|
void |
loadFromClassPath()
|
void |
loadRepository(String repoDir)
|
void |
loadRepositoryFromURL(URL repoURL)
|
void |
loadServices()
|
void |
loadServicesFromUrl(URL repoURL)
|
AxisConfiguration |
populateAxisConfiguration(InputStream in)
To get AxisConfiguration for a given inputStream this method can be used. |
void |
setConfigContext(ConfigurationContext configContext)
|
void |
setWebLocationString(String webLocationString)
|
void |
unDeploy()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AxisConfiguration axisConfig
protected ConfigurationContext configContext
Constructor Detail |
---|
public DeploymentEngine()
Method Detail |
---|
public void loadServices()
public void loadRepository(String repoDir) throws DeploymentException
DeploymentException
public void loadFromClassPath() throws DeploymentException
DeploymentException
public void loadServicesFromUrl(URL repoURL)
public void loadRepositoryFromURL(URL repoURL) throws DeploymentException
DeploymentException
protected MessageReceiver loadDefaultMessageReceiver(String mepURL, AxisService service)
public void addWSToDeploy(ArchiveFileData file)
file
- public void addWSToUndeploy(WSInfo file)
file
- public void doDeploy()
public void engageModules() throws AxisFault
AxisFault
public AxisConfiguration populateAxisConfiguration(InputStream in) throws DeploymentException
in
-
DeploymentException
public void unDeploy()
public AxisConfiguration getAxisConfig()
AxisConfiguration
public AxisModule getModule(QName moduleName) throws AxisFault
AxisFault
public boolean isHotUpdate()
public boolean isAntiJARLocking()
public String getWebLocationString()
public void setWebLocationString(String webLocationString)
public void setConfigContext(ConfigurationContext configContext)
public static AxisModule buildModule(File modulearchive, AxisConfiguration config) throws DeploymentException
modulearchive
- : Actual module archive fileconfig
- : AxisConfiguration : for get classloaders etc..
DeploymentException
public static AxisService buildService(InputStream serviceInputStream, ClassLoader classLoader, ConfigurationContext configCtx) throws DeploymentException
serviceInputStream
- classLoader
-
DeploymentException
public static AxisServiceGroup buildServiceGroup(InputStream servicesxml, ClassLoader classLoader, String serviceGroupName, ConfigurationContext configCtx, ArchiveReader archiveReader, HashMap wsdlServices) throws AxisFault
servicesxml
- : inpupstream create using services.xmlclassLoader
- : corresponding class loader to load the classserviceGroupName
- : name of the service group
AxisFault
public File getServicesDir()
public File getModulesDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |