|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.framework.JAXWSDeployer
public class JAXWSDeployer
Field Summary | |
---|---|
protected AxisConfiguration |
axisConfig
|
protected ConfigurationContext |
configCtx
|
Constructor Summary | |
---|---|
JAXWSDeployer()
|
Method Summary | |
---|---|
protected AxisService |
createAxisService(java.lang.ClassLoader classLoader,
java.lang.String className,
java.net.URL serviceLocation)
|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration |
protected AxisServiceGroup |
deployClasses(java.lang.String groupName,
java.net.URL location,
java.lang.ClassLoader classLoader,
java.util.List classList)
|
protected void |
deployServicesInWARClassPath()
|
protected java.util.ArrayList |
getClassesInWebInfDirectory(java.io.File file)
|
protected java.util.ArrayList |
getListOfClasses(DeploymentFileData deploymentFileData)
|
void |
init(ConfigurationContext configCtx)
Initialize the Deployer |
static boolean |
isJar(java.io.File f)
Check if this inputstream is a jar/zip |
void |
setDirectory(java.lang.String directory)
Set the directory |
void |
setExtension(java.lang.String extension)
Set the extension to look for TODO: Support multiple extensions? |
protected void |
storeFaultyService(DeploymentFileData deploymentFileData,
java.lang.Throwable t)
|
void |
unDeploy(java.lang.String fileName)
Remove a given file from the configuration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ConfigurationContext configCtx
protected AxisConfiguration axisConfig
Constructor Detail |
---|
public JAXWSDeployer()
Method Detail |
---|
public void init(ConfigurationContext configCtx)
Deployer
init
in interface Deployer
configCtx
- our ConfigurationContextprotected void deployServicesInWARClassPath()
protected java.util.ArrayList getClassesInWebInfDirectory(java.io.File file)
public void deploy(DeploymentFileData deploymentFileData)
Deployer
deploy
in interface Deployer
deploymentFileData
- the DeploymentFileData object to deployprotected AxisServiceGroup deployClasses(java.lang.String groupName, java.net.URL location, java.lang.ClassLoader classLoader, java.util.List classList) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, AxisFault
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
AxisFault
protected java.util.ArrayList getListOfClasses(DeploymentFileData deploymentFileData) throws java.io.IOException
java.io.IOException
protected void storeFaultyService(DeploymentFileData deploymentFileData, java.lang.Throwable t)
protected AxisService createAxisService(java.lang.ClassLoader classLoader, java.lang.String className, java.net.URL serviceLocation) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, AxisFault
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
AxisFault
public void setDirectory(java.lang.String directory)
Deployer
setDirectory
in interface Deployer
directory
- directory namepublic void setExtension(java.lang.String extension)
Deployer
setExtension
in interface Deployer
extension
- the file extension associated with this Deployerpublic void unDeploy(java.lang.String fileName)
Deployer
unDeploy
in interface Deployer
fileName
- name of item to removepublic static boolean isJar(java.io.File f)
is
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |