Package | org.swizframework.reflection |
Class | public class TypeCache |
Inheritance | TypeCache ![]() |
describeType
a single time.
Property | Defined By | ||
---|---|---|---|
typeDescriptors : Dictionary [static]
Dictionary of previously inspected types. | TypeCache |
Method | Defined By | ||
---|---|---|---|
flushDomain(domain:ApplicationDomain):void [static]
Flushes all TypeDescriptors associated to a Domain
| TypeCache | ||
getTypeDescriptor(target:Object, domain:ApplicationDomain):TypeDescriptor [static]
Will return TypeDescriptor instance either retrieved from cache or freshly
constructed from describeType call. | TypeCache |
typeDescriptors | property |
protected static var typeDescriptors:Dictionary
Dictionary of previously inspected types.
flushDomain | () | method |
public static function flushDomain(domain:ApplicationDomain):void
Flushes all TypeDescriptors associated to a Domain
Parameters
domain:ApplicationDomain |
getTypeDescriptor | () | method |
public static function getTypeDescriptor(target:Object, domain:ApplicationDomain):TypeDescriptor
Will return TypeDescriptor instance either retrieved from cache or freshly
constructed from describeType
call.
Parameters
target:Object — Object whose type is to be inspected and returned.
| |
domain:ApplicationDomain — to associate the typeDescriptors with
|
TypeDescriptor — TypeDescriptor instance representing the type of the object that was passed in.
|