|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
cleanup()
Cleanup deployment |
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 |
| Method Detail |
|---|
void init(ConfigurationContext configCtx)
configCtx - our ConfigurationContext
void deploy(DeploymentFileData deploymentFileData)
throws DeploymentException
deploymentFileData - the DeploymentFileData object to deploy
DeploymentException - if there is a problemvoid setDirectory(String directory)
directory - directory namevoid setExtension(String extension)
extension - the file extension associated with this Deployer
void undeploy(String fileName)
throws DeploymentException
fileName - name of item to remove
DeploymentException - if there is a problem
void cleanup()
throws DeploymentException
DeploymentException - If an error occurs during cleanup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||