org.apache.avalon.composition.provider
Interface ComponentContext

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

public interface ComponentContext
extends DeploymentContext

Defintion of a component deployment context.

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

Field Summary
static String CLASSLOADER_KEY
          The standard context entry key for the partition name.
static String HOME_KEY
          The standard context entry key for the partition name.
static String NAME_KEY
          The standard context entry key for the partition name.
static String PARTITION_KEY
          The standard context entry key for the partition name.
static String TEMP_KEY
          The standard context entry key for the partition name.
 
Fields inherited from interface org.apache.avalon.composition.provider.DeploymentContext
SEPARATOR
 
Method Summary
 ClassLoader getClassLoader()
          Return the classloader for the component.
 ComponentProfile getComponentProfile()
          Return the deployment profile.
 ContainmentModel getContainmentModel()
          Return the enclosing containment model.
 Class getDeploymentClass()
          Return the component class.
 File getHomeDirectory()
          Return the working directory for the component.
 SystemContext getSystemContext()
          Return the system context.
 File getTempDirectory()
          Return the temporary directory for the component.
 Type getType()
          Return the component type.
 
Methods inherited from interface org.apache.avalon.composition.provider.DeploymentContext
getDependencyGraph, getLogger, getMode, getName, getPartitionName, getProfile, getQualifiedName
 
Methods inherited from interface org.apache.avalon.framework.context.Context
get
 

Field Detail

PARTITION_KEY

public static final String PARTITION_KEY
The standard context entry key for the partition name.

See Also:
Constant Field Values

NAME_KEY

public static final String NAME_KEY
The standard context entry key for the partition name.

See Also:
Constant Field Values

CLASSLOADER_KEY

public static final String CLASSLOADER_KEY
The standard context entry key for the partition name.

See Also:
Constant Field Values

HOME_KEY

public static final String HOME_KEY
The standard context entry key for the partition name.

See Also:
Constant Field Values

TEMP_KEY

public static final String TEMP_KEY
The standard context entry key for the partition name.

See Also:
Constant Field Values
Method Detail

getSystemContext

public SystemContext getSystemContext()
Return the system context.

Specified by:
getSystemContext in interface DeploymentContext
Returns:
the system context

getHomeDirectory

public File getHomeDirectory()
Return the working directory for the component.

Returns:
the working directory

getTempDirectory

public File getTempDirectory()
Return the temporary directory for the component.

Returns:
the temporary directory

getComponentProfile

public ComponentProfile getComponentProfile()
Return the deployment profile.

Returns:
the profile

getType

public Type getType()
Return the component type.

Returns:
the type defintion

getDeploymentClass

public Class getDeploymentClass()
Return the component class.

Returns:
the class

getClassLoader

public ClassLoader getClassLoader()
Return the classloader for the component.

Returns:
the classloader

getContainmentModel

public ContainmentModel getContainmentModel()
Return the enclosing containment model.

Returns:
the containment model that component is within


Copyright © The Apache Software Foundation. All Rights Reserved.