org.apache.avalon.composition.provider
Interface ContainmentContext

All Superinterfaces:
Context, DeploymentContext
All Known Implementing Classes:
DefaultContainmentContext

public interface ContainmentContext
extends DeploymentContext

Defintion of a working context.

Version:
$Revision: 1.3 $ $Date: 2004/03/17 10:39:11 $
Author:
Avalon Development Team

Field Summary
 
Fields inherited from interface org.apache.avalon.composition.provider.DeploymentContext
SEPARATOR
 
Method Summary
 ClassLoader getClassLoader()
          Return the containment classloader.
 ClassLoaderModel getClassLoaderModel()
          Return the classloader model.
 ContainmentProfile getContainmentProfile()
          Return the containment profile.
 File getHomeDirectory()
          Return the working directory for a container.
 ModelRepository getModelRepository()
          Return the model repository.
 ContainmentModel getParentContainmentModel()
          Return the parent container model.
 File getTempDirectory()
          Return the temporary directory for a container.
 
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
 

Method Detail

getClassLoaderModel

public ClassLoaderModel getClassLoaderModel()
Return the classloader model.

Returns:
the type manager assigned to the containment model.

getHomeDirectory

public File getHomeDirectory()
Return the working directory for a container.

Returns:
the working directory

getTempDirectory

public File getTempDirectory()
Return the temporary directory for a container.

Returns:
the temporary directory

getContainmentProfile

public ContainmentProfile getContainmentProfile()
Return the containment profile.

Returns:
the containment profile

getClassLoader

public ClassLoader getClassLoader()
Return the containment classloader.

Returns:
the classloader model

getModelRepository

public ModelRepository getModelRepository()
Return the model repository.

Returns:
the model repository

getParentContainmentModel

public ContainmentModel getParentContainmentModel()
Return the parent container model. If the container is a root container, the operation shall return a null value.

Returns:
the parent containment model


Copyright © The Apache Software Foundation. All Rights Reserved.