当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
DeploymentManager (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.services.deployment
Class DeploymentManager
java.lang.Object
org.jboss.services.deployment.DeploymentManager
- public class DeploymentManager
- extends Object
Class handling JBoss module generation. Uses apache velocity
for generating deployment descriptors.
- Version:
- $Revision: 1.1.4.1 $
- Author:
- Dimitris Andreadis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEMPLATE_CONFIG_FILE
public static final String TEMPLATE_CONFIG_FILE
- the filename to look for in template subdirectories
- See Also:
- Constant Field Values
TEMPLATE_ERROR_PARAM
public static final String TEMPLATE_ERROR_PARAM
- See Also:
- Constant Field Values
DeploymentManager
public DeploymentManager(String templateDir,
String undeployDir,
String deployDir,
org.jboss.logging.Logger log)
throws Exception
- Parameters:
templateDir
- the root dir where templates are stored
listModuleTemplates
public Set listModuleTemplates()
- Return the list of available templates
getTemplatePropertyInfo
public List getTemplatePropertyInfo(String template)
throws Exception
- Get property metadata information for a particular template
- Parameters:
template
-
- Returns:
- list with PropertyInfo objects associated with the template
- Throws:
Exception
- if the template does not exist
createModule
public String createModule(String module,
String template,
HashMap properties)
throws Exception
- Throws:
Exception
removeModule
public void removeModule(String module)
throws Exception
- Throws:
Exception
moveToDeployDir
public void moveToDeployDir(String module)
throws Exception
- Throws:
Exception
moveToModuleDir
public void moveToModuleDir(String module)
throws Exception
- Throws:
Exception
getDeployedURL
public URL getDeployedURL(String module)
throws Exception
- Throws:
Exception
getUndeployedURL
public URL getUndeployedURL(String module)
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.