Package | org.spicefactory.parsley.core.registry.impl |
Class | public class DefaultDynamicObjectDefinition |
Inheritance | DefaultDynamicObjectDefinition ![]() ![]() |
Implements | DynamicObjectDefinition |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | DefaultDynamicObjectDefinition | ||
![]() | addProcessor(processor:ObjectProcessorConfig):void
Adds the specified processor to this definition. | AbstractObjectDefinition | |
copyForInstance(instance:Object):DynamicObjectDefinition
Creates a copy of this definition wrapping the existing instance. | DefaultDynamicObjectDefinition | ||
![]() | freeze():void
Freezes this object definition. | AbstractObjectDefinition | |
![]() | getAttribute(key:Object):Object
Returns the attribute for the specified key or null if no such attribute exists. | AbstractObjectDefinition | |
![]() | populateFrom(source:ObjectDefinition):void
Populates this definition with all configuration artifacts from the specified source. | AbstractObjectDefinition | |
![]() | setAttribute(key:Object, value:Object):void
Sets the attribute for the specified key and value. | AbstractObjectDefinition |
DefaultDynamicObjectDefinition | () | Constructor |
public function DefaultDynamicObjectDefinition(type:ClassInfo, id:String, registry:ObjectDefinitionRegistry)
Creates a new instance.
Parameterstype:ClassInfo — the type to create a definition for
| |
id:String — the id the object should be registered with
| |
registry:ObjectDefinitionRegistry — the registry this definition belongs to
|
copyForInstance | () | method |
public function copyForInstance(instance:Object):DynamicObjectDefinition
Creates a copy of this definition wrapping the existing instance.
Parameters
instance:Object — the instance to wrap
|
DynamicObjectDefinition — a new ObjectDefinition wrapping the existing instance
|