org.apache.avalon.composition.model
Interface SystemContext

All Superinterfaces:
Context
All Known Implementing Classes:
DefaultSystemContext

public interface SystemContext
extends Context

Defintion of a system context that exposes a system wide set of parameters.

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

Method Summary
 File getBaseDirectory()
          Return the base directory from which relative references should be resolved.
 ClassLoader getCommonClassLoader()
          Return the system classloader.
 ModelFactory getFactory()
          Return the model factory.
 File getHomeDirectory()
          Return the home directory from which containers may establish persistent content.
 Logger getLogger()
          Return the system logging channel.
 LoggingManager getLoggingManager()
          Return the logging manager.
 Repository getRepository()
          Return the system wide repository from which resource directives can be resolved.
 ClassLoader getSystemClassLoader()
          Return the system classloader.
 File getTempDirectory()
          Return the temp directory from which containers may establish non-persistent content.
 boolean isTraceEnabled()
          Return the system trace flag.
 
Methods inherited from interface org.apache.avalon.framework.context.Context
get
 

Method Detail

getFactory

public ModelFactory getFactory()
Return the model factory.

Returns:
the factory

getBaseDirectory

public File getBaseDirectory()
Return the base directory from which relative references should be resolved.

Returns:
the base directory

getHomeDirectory

public File getHomeDirectory()
Return the home directory from which containers may establish persistent content.

Returns:
the working directory

getTempDirectory

public File getTempDirectory()
Return the temp directory from which containers may establish non-persistent content.

Returns:
the temp directory

getRepository

public Repository getRepository()
Return the system wide repository from which resource directives can be resolved.

Returns:
the repository

isTraceEnabled

public boolean isTraceEnabled()
Return the system trace flag.

Returns:
the trace flag

getSystemClassLoader

public ClassLoader getSystemClassLoader()
Return the system classloader.

Returns:
the system classloader

getCommonClassLoader

public ClassLoader getCommonClassLoader()
Return the system classloader.

Returns:
the system classloader

getLoggingManager

public LoggingManager getLoggingManager()
Return the logging manager.

Returns:
the logging manager.

getLogger

public Logger getLogger()
Return the system logging channel.

Returns:
the system logging channel


Copyright © Apache Software Foundation. All Rights Reserved.