| Package | org.spicefactory.parsley.core.registry.impl |
| Class | public class DefaultDynamicObjectDefinition |
| Inheritance | DefaultDynamicObjectDefinition AbstractObjectDefinition Object |
| Implements | DynamicObjectDefinition |
| Method | Defined By | ||
|---|---|---|---|
DefaultDynamicObjectDefinition(type:ClassInfo, id:String, registry:ObjectDefinitionRegistry, parent:ObjectDefinition = null)
Creates a new instance. | DefaultDynamicObjectDefinition | ||
![]() | addProcessorFactory(factory:ObjectProcessorFactory):void
Adds the specified processor factory 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 | |
![]() | populateFrom(source:ObjectDefinition):void
Populates this definition with all configuration artifacts from the specified source. | AbstractObjectDefinition | |
| DefaultDynamicObjectDefinition | () | Constructor |
public function DefaultDynamicObjectDefinition(type:ClassInfo, id:String, registry:ObjectDefinitionRegistry, parent:ObjectDefinition = null)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
| |
parent:ObjectDefinition (default = null) — the parent definition containing shared configuration for this definition
|
| copyForInstance | () | method |
public function copyForInstance(instance:Object):DynamicObjectDefinitionCreates a copy of this definition wrapping the existing instance.
Parameters
instance:Object — the instance to wrap
|
DynamicObjectDefinition — a new ObjectDefinition wrapping the existing instance
|