| Package | org.spicefactory.parsley.core.lifecycle | 
| Interface | public interface ObjectLifecycleManager | 
| Implementors | DefaultObjectLifecycleManager | 
Context implementations.
 
 | Method | Defined By | ||
|---|---|---|---|
	 Creates a new handler for the specified ObjectDefinition.  | ObjectLifecycleManager | ||
destroyAll():void 
	 Destroys all managed objects created by this instance.  | ObjectLifecycleManager | ||
| createHandler | () | method | 
 public function createHandler(definition:ObjectDefinition, context:Context):ManagedObjectHandlerCreates a new handler for the specified ObjectDefinition. The handler instance can then be used to control the lifecycle of a single target object.
Parameters
definition:ObjectDefinition — the definition to create a new handler for
	  | |
context:Context — the Context the object belongs to
	  | 
ManagedObjectHandler — a new handler for the specified ObjectDefinition
	  | 
| destroyAll | () | method | 
 public function destroyAll():voidDestroys all managed objects created by this instance. This means that implementations have to keep track of all handlers they create.