org.nuxeo.runtime.jboss.deployer.structure
Class DeploymentStructure
java.lang.Object
org.nuxeo.runtime.jboss.deployer.structure.DeploymentStructure
public class DeploymentStructure
- extends Object
- Author:
- Bogdan Stefanescu
DeploymentStructure
public DeploymentStructure(org.jboss.virtual.VirtualFile vhome)
initialize
public void initialize(long lastModified)
throws Exception
- Must be called immediately after the deployment structure was created
(before using the object).
The lastModified is optional - if you don't need it you must specify a
value of 0.
- Throws:
Exception
getProperties
public Map<String,String> getProperties()
setProperties
public void setProperties(Map<String,String> properties)
setProperty
public void setProperty(String key,
String value)
getProperty
public String getProperty(String key,
String defValue)
getProperty
public String getProperty(String key)
expandProperty
public String expandProperty(String key,
String defaultValue)
- Get the property value given a key. Any variable present in the value
will be expanded against the system properties.
addContext
public void addContext(DeploymentStructure.Context ctx)
getContexts
public List<DeploymentStructure.Context> getContexts()
getResolvedBundles
public String[] getResolvedBundles()
throws IOException
- Throws:
IOException
getResolvedBundleFiles
public File[] getResolvedBundleFiles()
throws IOException
- Throws:
IOException
getHome
public File getHome()
getVirtualHome
public org.jboss.virtual.VirtualFile getVirtualHome()
setBundles
public void setBundles(String... bundles)
getBundles
public String[] getBundles()
setRequirePreprocessing
public void setRequirePreprocessing(boolean requirePreprocessing)
setPreprocessorClassPath
public void setPreprocessorClassPath(String[] preprocessorClassPath)
getPreprocessorClassPath
public String[] getPreprocessorClassPath()
isRequirePreprocessing
public boolean isRequirePreprocessing()
setChildren
public void setChildren(String... children)
getChildren
public String[] getChildren()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.