org.apache.avalon.composition.model
Interface ClassLoaderContext

All Superinterfaces:
Context
All Known Implementing Classes:
DefaultClassLoaderContext

public interface ClassLoaderContext
extends Context

Defintion of a working context.

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

Method Summary
 File getBaseDirectory()
          Return the base directory from which relative library directives and fileset directory paths may be resolved.
 ClassLoader getClassLoader()
          Return the classloader to be assigned as the parent classloader of the classloader created by the model.
 ClassLoaderDirective getClassLoaderDirective()
          Return the classloader directive to be applied to the classloader model.
 ExtensionManager getExtensionManager()
          Return the extension manager established by the parent classloader model.
 URL[] getImplicitURLs()
          Return any implied urls to include in the classloader.
 Logger getLogger()
          Return the logging channel to be applied to the classloader model.
 OptionalPackage[] getOptionalPackages()
          Return the optional packages already establised relative to the parent classloader.
 Repository getRepository()
          Return the local repository.
 ServiceRepository getServiceRepository()
          Return the service repository established by the parent classloader.
 TypeRepository getTypeRepository()
          Return the type repository established by the parent classloader.
 
Methods inherited from interface org.apache.avalon.framework.context.Context
get
 

Method Detail

getLogger

public Logger getLogger()
Return the logging channel to be applied to the classloader model.

Returns:
the system logging channel

getRepository

public Repository getRepository()
Return the local repository.

Returns:
the repository

getBaseDirectory

public File getBaseDirectory()
Return the base directory from which relative library directives and fileset directory paths may be resolved.

Returns:
the base directory

getClassLoader

public ClassLoader getClassLoader()
Return the classloader to be assigned as the parent classloader of the classloader created by the model.

Returns:
the classloader

getOptionalPackages

public OptionalPackage[] getOptionalPackages()
Return the optional packages already establised relative to the parent classloader.

Returns:
the array of established optional packages

getExtensionManager

public ExtensionManager getExtensionManager()
Return the extension manager established by the parent classloader model.

Returns:
the extension manager

getClassLoaderDirective

public ClassLoaderDirective getClassLoaderDirective()
Return the classloader directive to be applied to the classloader model.

Returns:
the classloader directive

getTypeRepository

public TypeRepository getTypeRepository()
Return the type repository established by the parent classloader.

Returns:
the type repository

getServiceRepository

public ServiceRepository getServiceRepository()
Return the service repository established by the parent classloader.

Returns:
the service repository

getImplicitURLs

public URL[] getImplicitURLs()
Return any implied urls to include in the classloader.

Returns:
the implied urls


Copyright © Apache Software Foundation. All Rights Reserved.