Packageorg.spicefactory.parsley.flex.tag.builder
Classpublic class ViewLifecycleTag
InheritanceViewLifecycleTag Inheritance Object
Implements BootstrapConfigProcessor

MXML tag for declaring a custom view lifecycle to be used by the corresponding Context for all matching view types. The tag can be used as a child tag of the ContextBuilder tag:
                  <parsley:ContextBuilder>
     <parsley:ViewLifecycle viewType="{Window}" lifecycle="{AirWindowLifecycle}"/>
     <parsley:FlexConfig type="{BookStoreConfig}"/>
     <parsley:XmlConfig file="logging.xml"/>
 </parsley:ContextBuilder>
               



Public Properties
 PropertyDefined By
  lifecycle : Class
The type of the lifecycle.
ViewLifecycleTag
  params : Array
Optional parameters the parameters to pass to the constructor of the lifecycle instance.
ViewLifecycleTag
  viewType : Class
The type for which this lifecycle should be applied.
ViewLifecycleTag
Property Detail
lifecycleproperty
public var lifecycle:Class

The type of the lifecycle. The specified class must implement the ViewLifecycle interface.

paramsproperty 
public var params:Array

Optional parameters the parameters to pass to the constructor of the lifecycle instance.

viewTypeproperty 
public var viewType:Class

The type for which this lifecycle should be applied. This will include all subtypes of the specified class.