| Package | org.springextensions.actionscript.stage |
| SVN browsing | StageProcessorFactoryPostprocessor.as |
| Fisheye | StageProcessorFactoryPostprocessor.as |
| Class | public class StageProcessorFactoryPostprocessor |
| Implements | IObjectFactoryPostProcessor |
| Subclasses | FlexStageProcessorFactoryPostProcessor |
IObjectFactoryPostProcessor implementation that retrieves all the IStageProcessor
from the IConfigurableListableObjectFactory instance and registers them by invoking the
registerStageProcessor() method on the IStageProcessorRegistry instance.
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new
StageProcessorFactoryPostprocessor instance. | StageProcessorFactoryPostprocessor | ||
|
postProcessObjectFactory(objectFactory:IConfigurableListableObjectFactory):void
First checks if the IStageProcessorRegistry instance has been found the objectFactory is used to retrieve all
IStageProcessor instances which all are registered with the specified IStageProcessorRegistry. | StageProcessorFactoryPostprocessor | ||
| Method | Defined by | ||
|---|---|---|---|
|
findCurrentDocument(objectFactory:IConfigurableListableObjectFactory):Object
Currently the FlashStageProcessorRegistry doesn't support multiple contexts wiring different views, so for
now we just return the
objectFactory. | StageProcessorFactoryPostprocessor | ||
|
findStageProcessorRegistryInFactory(objectFactory:IConfigurableListableObjectFactory):IStageProcessorRegistry
Retrieves all objects in the container of the type
IStageProcessorRegistry and returns the first instance. | StageProcessorFactoryPostprocessor | ||
|
registerProcessor(stageProcessorRegistry:IStageProcessorRegistry, name:String, stageProcessor:IStageProcessor, document:Object):void
Registers the specified
IStageProcessor with the specified IStageProcessorRegistry. | StageProcessorFactoryPostprocessor | ||
| StageProcessorFactoryPostprocessor | () | constructor |
public function StageProcessorFactoryPostprocessor()
Creates a new StageProcessorFactoryPostprocessor instance.
| findCurrentDocument | () | method |
protected function findCurrentDocument(objectFactory:IConfigurableListableObjectFactory):Object
Currently the FlashStageProcessorRegistry doesn't support multiple contexts wiring different views, so for
now we just return the objectFactory.
objectFactory:IConfigurableListableObjectFactory |
Object — the objectFactory instance.
|
| findStageProcessorRegistryInFactory | () | method |
protected function findStageProcessorRegistryInFactory(objectFactory:IConfigurableListableObjectFactory):IStageProcessorRegistry
Retrieves all objects in the container of the type IStageProcessorRegistry and returns the first instance.
If no objects are found, null is returned.
objectFactory:IConfigurableListableObjectFactory — The IConfigurableListableObjectFactory that will be searched.
|
IStageProcessorRegistry —
An IStageProcessorRegistry or null if none was found.
|
| postProcessObjectFactory | () | method |
public function postProcessObjectFactory(objectFactory:IConfigurableListableObjectFactory):void
First checks if the objectFactory argument is an implementation of IStageProcessorRegistry, if not
the objectFactory is checked to see if it contains an object that implements IStageProcessorRegistry.
IStageProcessorRegistry instance has been found the objectFactory is used to retrieve all
IStageProcessor instances which all are registered with the specified IStageProcessorRegistry.
Parameters
objectFactory:IConfigurableListableObjectFactory |
| registerProcessor | () | method |
protected function registerProcessor(stageProcessorRegistry:IStageProcessorRegistry, name:String, stageProcessor:IStageProcessor, document:Object):void
Registers the specified IStageProcessor with the specified IStageProcessorRegistry. If the specified IStageProcessor.document
property is null, it will be assigned with the specified document instance.
stageProcessorRegistry:IStageProcessorRegistry — The specified IStageProcessorRegistry instance.
|
|
name:String — The name under which the specified IStageProcessor will be registered.
|
|
stageProcessor:IStageProcessor — The specified IStageProcessor instance.
|
|
document:Object — The specified document instance.
|