org.apache.avalon.composition.model
Interface ContainmentContext

All Superinterfaces:
Context
All Known Implementing Classes:
DefaultContainmentContext

public interface ContainmentContext
extends Context

Defintion of a working context.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/08/31 14:27:13 $
Author:
Avalon Development Team

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.
 Logger getLogger()
          Return the logging channel.
 String getName()
          Return the name that the container has been assigned.
 String getPartitionName()
          Return the partition name that the container is established with.
 SystemContext getSystemContext()
          Return the system context.
 File getTempDirectory()
          Return the temporary directory for a container.
 
Methods inherited from interface org.apache.avalon.framework.context.Context
get
 

Method Detail

getLogger

public Logger getLogger()
Return the logging channel.

Returns:
the logging channel

getSystemContext

public SystemContext getSystemContext()
Return the system context.

Returns:
the system context

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

getName

public String getName()
Return the name that the container has been assigned.

Returns:
the container name

getPartitionName

public String getPartitionName()
Return the partition name that the container is established with.

Returns:
the partition name

getClassLoader

public ClassLoader getClassLoader()
Return the containment classloader.

Returns:
the classloader model


Copyright © Apache Software Foundation. All Rights Reserved.