org.apache.geronimo.kernel.config
Class ConfigurationData

java.lang.Object
  extended by org.apache.geronimo.kernel.config.ConfigurationData
All Implemented Interfaces:
Serializable

public class ConfigurationData
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ConfigurationData(Artifact configId, Naming naming)
           
ConfigurationData(Artifact configId, Naming naming, GBeanState gbeanState)
           
ConfigurationData(ConfigurationModuleType moduleType, LinkedHashSet classPath, List gbeans, Map childConfigurations, Environment environment, File configurationDir, File inPlaceConfigurationDir, Naming naming)
           
ConfigurationData(Environment environment, Naming naming)
           
ConfigurationData(Environment environment, Naming naming, GBeanState gbeanState)
           
 
Method Summary
 void addChildConfiguration(ConfigurationData configurationData)
           
 void addGBean(GBeanData gbeanData)
           
 GBeanData addGBean(String name, GBeanInfo gbeanInfo)
           
 void addOwnedConfigurations(Artifact id)
           
 Map getChildConfigurations()
          Gets a map of Artifact (config ID) to ConfigurationData for nested configurations (as in, a WAR within an EAR, not dependencies between totally separate configurations).
 List getClassPath()
           
 File getConfigurationDir()
           
 ConfigurationStore getConfigurationStore()
           
 long getCreated()
          Gets the time at which this configuration was created (or deployed).
 Environment getEnvironment()
           
 List getGBeans(ClassLoader classLoader)
           
 GBeanState getGbeanState()
           
 Artifact getId()
           
 File getInPlaceConfigurationDir()
           
 ConfigurationModuleType getModuleType()
           
 Naming getNaming()
           
 Set getOwnedConfigurations()
          Gets the configurations owned by this configuration.
 boolean isAutoStart()
           
 void setAutoStart(boolean autoStart)
           
 void setConfigurationDir(File configurationDir)
           
 void setConfigurationStore(ConfigurationStore configurationStore)
           
 void setNaming(Naming naming)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationData

public ConfigurationData(Artifact configId,
                         Naming naming,
                         GBeanState gbeanState)

ConfigurationData

public ConfigurationData(Environment environment,
                         Naming naming,
                         GBeanState gbeanState)

ConfigurationData

public ConfigurationData(Artifact configId,
                         Naming naming)

ConfigurationData

public ConfigurationData(Environment environment,
                         Naming naming)

ConfigurationData

public ConfigurationData(ConfigurationModuleType moduleType,
                         LinkedHashSet classPath,
                         List gbeans,
                         Map childConfigurations,
                         Environment environment,
                         File configurationDir,
                         File inPlaceConfigurationDir,
                         Naming naming)
Method Detail

getId

public Artifact getId()

getCreated

public long getCreated()
Gets the time at which this configuration was created (or deployed).

Returns:
the time at which this configuration was created (or deployed)

getModuleType

public ConfigurationModuleType getModuleType()

getClassPath

public List getClassPath()

getGBeans

public List getGBeans(ClassLoader classLoader)
               throws InvalidConfigException
Throws:
InvalidConfigException

addGBean

public void addGBean(GBeanData gbeanData)

addGBean

public GBeanData addGBean(String name,
                          GBeanInfo gbeanInfo)

getGbeanState

public GBeanState getGbeanState()

getChildConfigurations

public Map getChildConfigurations()
Gets a map of Artifact (config ID) to ConfigurationData for nested configurations (as in, a WAR within an EAR, not dependencies between totally separate configurations).


addChildConfiguration

public void addChildConfiguration(ConfigurationData configurationData)

getOwnedConfigurations

public Set getOwnedConfigurations()
Gets the configurations owned by this configuration. This is only used for cascade-uninstall.

Returns:
the configurations owned by this configuration

addOwnedConfigurations

public void addOwnedConfigurations(Artifact id)

getEnvironment

public Environment getEnvironment()

getInPlaceConfigurationDir

public File getInPlaceConfigurationDir()

getConfigurationDir

public File getConfigurationDir()

setConfigurationDir

public void setConfigurationDir(File configurationDir)

getNaming

public Naming getNaming()

setNaming

public void setNaming(Naming naming)

isAutoStart

public boolean isAutoStart()

setAutoStart

public void setAutoStart(boolean autoStart)

getConfigurationStore

public ConfigurationStore getConfigurationStore()

setConfigurationStore

public void setConfigurationStore(ConfigurationStore configurationStore)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.