org.apache.axis2.jaxws.framework
Class JAXWSDeployer

java.lang.Object
  extended by org.apache.axis2.jaxws.framework.JAXWSDeployer
All Implemented Interfaces:
Deployer

public class JAXWSDeployer
extends java.lang.Object
implements Deployer


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)
           
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)
           
static boolean isJar(java.io.File f)
          Check if this inputstream is a jar/zip
 void setDirectory(java.lang.String directory)
           
 void setExtension(java.lang.String extension)
           
protected  void storeFaultyService(DeploymentFileData deploymentFileData, java.lang.Throwable t)
           
 void unDeploy(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configCtx

protected ConfigurationContext configCtx

axisConfig

protected AxisConfiguration axisConfig
Constructor Detail

JAXWSDeployer

public JAXWSDeployer()
Method Detail

init

public void init(ConfigurationContext configCtx)
Specified by:
init in interface Deployer

deployServicesInWARClassPath

protected void deployServicesInWARClassPath()

getClassesInWebInfDirectory

protected java.util.ArrayList getClassesInWebInfDirectory(java.io.File file)

deploy

public void deploy(DeploymentFileData deploymentFileData)
Specified by:
deploy in interface Deployer

deployClasses

protected 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
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
AxisFault

getListOfClasses

protected java.util.ArrayList getListOfClasses(DeploymentFileData deploymentFileData)
                                        throws java.io.IOException
Throws:
java.io.IOException

storeFaultyService

protected void storeFaultyService(DeploymentFileData deploymentFileData,
                                  java.lang.Throwable t)

createAxisService

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
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
AxisFault

setDirectory

public void setDirectory(java.lang.String directory)
Specified by:
setDirectory in interface Deployer

setExtension

public void setExtension(java.lang.String extension)
Specified by:
setExtension in interface Deployer

unDeploy

public void unDeploy(java.lang.String fileName)
Specified by:
unDeploy in interface Deployer

isJar

public static boolean isJar(java.io.File f)
Check if this inputstream is a jar/zip

Parameters:
is -
Returns:
true if inputstream is a jar


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.