org.apache.axis2.deployment
Class ServiceDeployer

java.lang.Object
  extended by org.apache.axis2.deployment.ServiceDeployer
All Implemented Interfaces:
Deployer

public class ServiceDeployer
extends java.lang.Object
implements Deployer


Constructor Summary
ServiceDeployer()
           
 
Method Summary
 void deploy(DeploymentFileData deploymentFileData)
          Process a file and add it to the configuration
 void init(ConfigurationContext configCtx)
          Initialize the Deployer
 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?
 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
 

Constructor Detail

ServiceDeployer

public ServiceDeployer()
Method Detail

init

public void init(ConfigurationContext configCtx)
Description copied from interface: Deployer
Initialize the Deployer

Specified by:
init in interface Deployer
Parameters:
configCtx - our ConfigurationContext

deploy

public void deploy(DeploymentFileData deploymentFileData)
            throws DeploymentException
Description copied from interface: Deployer
Process a file and add it to the configuration

Specified by:
deploy in interface Deployer
Parameters:
deploymentFileData - the DeploymentFileData object to deploy
Throws:
DeploymentException - if there is a problem

setDirectory

public void setDirectory(java.lang.String directory)
Description copied from interface: Deployer
Set the directory

Specified by:
setDirectory in interface Deployer
Parameters:
directory - directory name

setExtension

public void setExtension(java.lang.String extension)
Description copied from interface: Deployer
Set the extension to look for TODO: Support multiple extensions?

Specified by:
setExtension in interface Deployer
Parameters:
extension - the file extension associated with this Deployer

unDeploy

public void unDeploy(java.lang.String fileName)
              throws DeploymentException
Description copied from interface: Deployer
Remove a given file from the configuration

Specified by:
unDeploy in interface Deployer
Parameters:
fileName - name of item to remove
Throws:
DeploymentException - if there is a problem


Copyright © 2007 Apache Web Services Project. All Rights Reserved.