| java.lang.Object org.jboss.services.deployment.DeploymentManager
DeploymentManager | public class DeploymentManager (Code) | | Class handling JBoss module generation. Uses apache velocity
for generating deployment descriptors.
author: Dimitris Andreadis version: $Revision: 57210 $ |
CONTEXT_HELPER | final public static String CONTEXT_HELPER(Code) | | a helper object to pass in to the template
|
TEMPLATE_CONFIG_FILE | final public static String TEMPLATE_CONFIG_FILE(Code) | | the filename to look for in template subdirectories
|
TEMPLATE_ERROR_PARAM | final public static String TEMPLATE_ERROR_PARAM(Code) | | an object to pass back from the template to trigger an error
|
ve | VelocityEngine ve(Code) | | the apache velocity engine
|
DeploymentManager | public DeploymentManager(String templateDir, String undeployDir, String deployDir, Logger log) throws Exception(Code) | | Parameters: templateDir - the root dir where templates are stored Parameters: packageDir - the directory to store generated packages |
getTemplatePropertyInfo | public List getTemplatePropertyInfo(String template) throws Exception(Code) | | Get property metadata information for a particular template
Parameters: template - list with PropertyInfo objects associated with the template throws: Exception - if the template does not exist |
listModuleTemplates | public Set listModuleTemplates()(Code) | | Return the list of available templates
|
removeModule | public boolean removeModule(String module)(Code) | | Remove a module if exists
Parameters: module - the module to remove true if removed, false if module does not exist or an error occurs |
|
|