org.apache.axis2.deployment
Interface Deployer

All Known Implementing Classes:
CorbaDeployer, JAXWSDeployer, ModuleDeployer, POJODeployer, ServiceDeployer

public interface Deployer

This interface is used to provide the custom deployment mechanism , where you can write your own Deployer to process a particular type and make that to a service or a module.


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
 

Method Detail

init

void init(ConfigurationContext configCtx)
Initialize the Deployer

Parameters:
configCtx - our ConfigurationContext

deploy

void deploy(DeploymentFileData deploymentFileData)
            throws DeploymentException
Process a file and add it to the configuration

Parameters:
deploymentFileData - the DeploymentFileData object to deploy
Throws:
DeploymentException - if there is a problem

setDirectory

void setDirectory(java.lang.String directory)
Set the directory

Parameters:
directory - directory name

setExtension

void setExtension(java.lang.String extension)
Set the extension to look for TODO: Support multiple extensions?

Parameters:
extension - the file extension associated with this Deployer

unDeploy

void unDeploy(java.lang.String fileName)
              throws DeploymentException
Remove a given file from the configuration

Parameters:
fileName - name of item to remove
Throws:
DeploymentException - if there is a problem


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