public class TransportDeployer extends AbstractDeployer
deploymentFileDataMap
Constructor and Description |
---|
TransportDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration
|
void |
init(ConfigurationContext configCtx)
Initialize the Deployer
|
void |
setDirectory(String directory)
Set the directory
|
void |
setExtension(String extension)
Set the extension to look for
TODO: Support multiple extensions?
|
void |
undeploy(String fileName)
Remove a given file from the configuration
|
addServiceBuilderExtensions, cleanup, executeServiceBuilderExtensions, getServiceBuilderExtensions
public void init(ConfigurationContext configCtx)
Deployer
configCtx
- our ConfigurationContextpublic void deploy(DeploymentFileData deploymentFileData) throws DeploymentException
Deployer
deploy
in interface Deployer
deploy
in class AbstractDeployer
deploymentFileData
- the DeploymentFileData object to deployDeploymentException
- if there is a problempublic void setDirectory(String directory)
Deployer
directory
- directory namepublic void setExtension(String extension)
Deployer
extension
- the file extension associated with this Deployerpublic void undeploy(String fileName) throws DeploymentException
Deployer
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
fileName
- name of item to removeDeploymentException
- if there is a problemCopyright © The Apache Software Foundation. All Rights Reserved.