|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.context.DefaultContext
org.apache.avalon.composition.model.impl.DefaultDeploymentContext
org.apache.avalon.composition.model.impl.DefaultContainmentContext
Implementation of a containment supplied to a containment model.
Field Summary |
Fields inherited from interface org.apache.avalon.composition.provider.DeploymentContext |
SEPARATOR |
Constructor Summary | |
DefaultContainmentContext(Logger logger,
SystemContext system,
ClassLoaderModel model,
ModelRepository repository,
DependencyGraph graph,
ContainmentProfile profile)
Creation of a new root containment context. |
|
DefaultContainmentContext(Logger logger,
SystemContext system,
ClassLoaderModel model,
ModelRepository repository,
DependencyGraph graph,
File home,
File temp,
ContainmentModel parent,
ContainmentProfile profile,
String partition,
String name)
Creation of a new containment context. |
Method Summary | |
ClassLoader |
getClassLoader()
Return the containment classloader. |
ClassLoaderModel |
getClassLoaderModel()
Return the containment classloader model. |
ContainmentProfile |
getContainmentProfile()
Return the containment profile. |
File |
getHomeDirectory()
Return the working directory from which containers may establish persistent content. |
ModelRepository |
getModelRepository()
Return the model repository. |
ContainmentModel |
getParentContainmentModel()
Return the parent containment model. |
File |
getTempDirectory()
Return the temporary directory from which a container may use to establish a transient content directory. |
Methods inherited from class org.apache.avalon.composition.model.impl.DefaultDeploymentContext |
getDependencyGraph, getLogger, getMode, getName, getPartitionName, getProfile, getQualifiedName, getSystemContext |
Methods inherited from class org.apache.avalon.framework.context.DefaultContext |
checkWriteable, get, getContextData, getParent, hide, makeReadOnly, put |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.composition.provider.DeploymentContext |
getDependencyGraph, getLogger, getMode, getName, getPartitionName, getProfile, getQualifiedName, getSystemContext |
Methods inherited from interface org.apache.avalon.framework.context.Context |
get |
Constructor Detail |
public DefaultContainmentContext(Logger logger, SystemContext system, ClassLoaderModel model, ModelRepository repository, DependencyGraph graph, ContainmentProfile profile)
logger
- the logging channel to assignsystem
- the system contextmodel
- the classloader modelrepository
- the parent model repositorygraph
- the parent dependency graphprofile
- the containment profilepublic DefaultContainmentContext(Logger logger, SystemContext system, ClassLoaderModel model, ModelRepository repository, DependencyGraph graph, File home, File temp, ContainmentModel parent, ContainmentProfile profile, String partition, String name)
logger
- the logging channel to assignsystem
- the system contextmodel
- the classloader modelrepository
- the parent model repositorygraph
- the parent dependency graphhome
- the directory for the containertemp
- a temporary directory for the containerprofile
- the containment profilepartition
- the partition that this containment
context is established withinname
- the assigned containment context nameMethod Detail |
public File getHomeDirectory()
getHomeDirectory
in interface ContainmentContext
public File getTempDirectory()
getTempDirectory
in interface ContainmentContext
public ContainmentProfile getContainmentProfile()
getContainmentProfile
in interface ContainmentContext
public ModelRepository getModelRepository()
getModelRepository
in interface ContainmentContext
public ClassLoaderModel getClassLoaderModel()
getClassLoaderModel
in interface ContainmentContext
public ClassLoader getClassLoader()
getClassLoader
in interface ContainmentContext
public ContainmentModel getParentContainmentModel()
getParentContainmentModel
in interface ContainmentContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |