Access keys

ReflectConfig

Kind of class: class
Inherits from: BasicClass
Author: Simon Wacker
Classpath: org.as2lib.env.reflect.ReflectConfig
File last modified: Saturday, 28 May 2005, 12:18:22
ReflectConfig is the main config used to globally configure key parts of
the work the classes of the reflect package try to solve.

Summary

Class methods
Instance methods
Instance methods inherited from BasicClass

Class methods

getCache

static function getCache (
Void) : Cache
Returns the cache used to cache all classes and packages that have already been
found.

If no cache was set manually via setCache the default cache will be
returned, that is an instance of class SimpleCache and that is configured
with the root package returned by the PackageInfo.getRootPackage method.

Returns:
the cache used to cache classes and packages

setCache

static function setCache (
newCache:Cache) : Void
Sets the new cache used to cache classes and packages.

If newCache is null the default cache will be returned by
the getCache method.

Parameters:
cache:
the new cache to use