Class org.as2lib.env.reflect.ReflectConfig

org.as2lib.core.BasicClass
   +--org.as2lib.env.reflect.ReflectConfig

Description

ReflectConfig is the main config used to globally configure key parts of the work the classes of the reflect package try to solve.

Method Index

getCache(), setCache()

Inherited from BasicClass

toString()

Method Detail

getCache

static public 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.

Return

the cache used to cache classes and packages

setCache

static public 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