org.apache.geronimo.kernel.repository
Class Environment

java.lang.Object
  extended by org.apache.geronimo.kernel.repository.Environment
All Implemented Interfaces:
Serializable

public class Environment
extends Object
implements Serializable

holds the data from the EnvironmentType xml while it is being resolved, transitively closed, etc.

See Also:
Serialized Form

Constructor Summary
Environment()
           
Environment(Artifact configId)
           
Environment(Environment environment)
           
 
Method Summary
 void addDependencies(Collection dependencies)
           
 void addDependency(Artifact artifact, ImportType importType)
           
 void addDependency(Dependency dependency)
           
 void addHiddenClasses(Collection hiddenClasses)
           
 void addNonOverrideableClasses(Collection nonOverrideableClasses)
           
 Artifact getConfigId()
           
 List<Dependency> getDependencies()
          Gets a List (with elements of type Dependency) of the configuration and JAR dependencies of this configuration.
 Set getHiddenClasses()
          todo: I should be documented so it's not completely unclear what kind of elements I hold.
 Set getNonOverrideableClasses()
          todo: I should be documented so it's not completely unclear what kind of elements I hold.
 boolean isInverseClassLoading()
           
 boolean isSuppressDefaultEnvironment()
           
 void setConfigId(Artifact configId)
           
 void setDependencies(Collection dependencies)
           
 void setHiddenClasses(Collection hiddenClasses)
           
 void setInverseClassLoading(boolean inverseClassLoading)
           
 void setNonOverrideableClasses(Collection nonOverrideableClasses)
           
 void setSuppressDefaultEnvironment(boolean suppressDefaultEnvironment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment()

Environment

public Environment(Artifact configId)

Environment

public Environment(Environment environment)
Method Detail

getConfigId

public Artifact getConfigId()

setConfigId

public void setConfigId(Artifact configId)

getDependencies

public List<Dependency> getDependencies()
Gets a List (with elements of type Dependency) of the configuration and JAR dependencies of this configuration.

See Also:
Dependency

addDependency

public void addDependency(Artifact artifact,
                          ImportType importType)

addDependency

public void addDependency(Dependency dependency)

addDependencies

public void addDependencies(Collection dependencies)

setDependencies

public void setDependencies(Collection dependencies)

getHiddenClasses

public Set getHiddenClasses()
todo: I should be documented so it's not completely unclear what kind of elements I hold.


addHiddenClasses

public void addHiddenClasses(Collection hiddenClasses)

setHiddenClasses

public void setHiddenClasses(Collection hiddenClasses)

getNonOverrideableClasses

public Set getNonOverrideableClasses()
todo: I should be documented so it's not completely unclear what kind of elements I hold.


addNonOverrideableClasses

public void addNonOverrideableClasses(Collection nonOverrideableClasses)

setNonOverrideableClasses

public void setNonOverrideableClasses(Collection nonOverrideableClasses)

isInverseClassLoading

public boolean isInverseClassLoading()

setInverseClassLoading

public void setInverseClassLoading(boolean inverseClassLoading)

isSuppressDefaultEnvironment

public boolean isSuppressDefaultEnvironment()

setSuppressDefaultEnvironment

public void setSuppressDefaultEnvironment(boolean suppressDefaultEnvironment)


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