Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.jboss.deployer.structure
Class DeploymentStructure

java.lang.Object
  extended by org.nuxeo.runtime.jboss.deployer.structure.DeploymentStructure

public class DeploymentStructure
extends java.lang.Object

Author:
Bogdan Stefanescu

Nested Class Summary
static class DeploymentStructure.Context
           
 
Constructor Summary
DeploymentStructure(org.jboss.virtual.VirtualFile vhome)
           
 
Method Summary
 void addContext(DeploymentStructure.Context ctx)
           
 java.lang.String expandProperty(java.lang.String key, java.lang.String defaultValue)
          Get the property value given a key.
 java.lang.String[] getBundles()
           
 java.lang.String[] getChildren()
           
 java.util.List<DeploymentStructure.Context> getContexts()
           
 java.io.File getHome()
           
 java.lang.String[] getPreprocessorClassPath()
           
 java.util.Map<java.lang.String,java.lang.String> getProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defValue)
           
 java.io.File[] getResolvedBundleFiles()
           
 java.lang.String[] getResolvedBundles()
           
 org.jboss.virtual.VirtualFile getVirtualHome()
           
 void initialize(long lastModified)
          Must be called immediately after the deployment structure was created (before using the object).
 boolean isRequirePreprocessing()
           
 void setBundles(java.lang.String... bundles)
           
 void setChildren(java.lang.String... children)
           
 void setPreprocessorClassPath(java.lang.String[] preprocessorClassPath)
           
 void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 void setRequirePreprocessing(boolean requirePreprocessing)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentStructure

public DeploymentStructure(org.jboss.virtual.VirtualFile vhome)
Method Detail

initialize

public void initialize(long lastModified)
                throws java.lang.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:
java.lang.Exception

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defValue)

getProperty

public java.lang.String getProperty(java.lang.String key)

expandProperty

public java.lang.String expandProperty(java.lang.String key,
                                       java.lang.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 java.util.List<DeploymentStructure.Context> getContexts()

getResolvedBundles

public java.lang.String[] getResolvedBundles()
                                      throws java.io.IOException
Throws:
java.io.IOException

getResolvedBundleFiles

public java.io.File[] getResolvedBundleFiles()
                                      throws java.io.IOException
Throws:
java.io.IOException

getHome

public java.io.File getHome()

getVirtualHome

public org.jboss.virtual.VirtualFile getVirtualHome()

setBundles

public void setBundles(java.lang.String... bundles)

getBundles

public java.lang.String[] getBundles()

setRequirePreprocessing

public void setRequirePreprocessing(boolean requirePreprocessing)

setPreprocessorClassPath

public void setPreprocessorClassPath(java.lang.String[] preprocessorClassPath)

getPreprocessorClassPath

public java.lang.String[] getPreprocessorClassPath()

isRequirePreprocessing

public boolean isRequirePreprocessing()

setChildren

public void setChildren(java.lang.String... children)

getChildren

public java.lang.String[] getChildren()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.