|
||||||||||
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 |
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 |
---|
void init(ConfigurationContext configCtx)
configCtx
- our ConfigurationContextvoid deploy(DeploymentFileData deploymentFileData) throws DeploymentException
deploymentFileData
- the DeploymentFileData object to deploy
DeploymentException
- if there is a problemvoid setDirectory(java.lang.String directory)
directory
- directory namevoid setExtension(java.lang.String extension)
extension
- the file extension associated with this Deployervoid unDeploy(java.lang.String fileName) throws DeploymentException
fileName
- name of item to remove
DeploymentException
- if there is a problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |