Packageorg.spicefactory.parsley.core.bootstrap.impl
Classpublic class DefaultBootstrapProcessor
InheritanceDefaultBootstrapProcessor Inheritance Object
Implements BootstrapProcessor

Default implementation of the BootstrapProcessor interface.



Public Properties
 PropertyDefined By
  info : BootstrapInfo
[read-only] The environment info for this processor.
DefaultBootstrapProcessor
Public Methods
 MethodDefined By
  
Creates a new instance.
DefaultBootstrapProcessor
  
Adds a configuration processor.
DefaultBootstrapProcessor
  
Finally processes the configuration, applying all processors that were added and initializing the Context.
DefaultBootstrapProcessor
Property Detail
infoproperty
info:BootstrapInfo  [read-only]

The environment info for this processor. Gives access to settings and collaborating services.


Implementation
    public function get info():BootstrapInfo
Constructor Detail
DefaultBootstrapProcessor()Constructor
public function DefaultBootstrapProcessor(info:BootstrapInfo)

Creates a new instance.

Parameters
info:BootstrapInfo — the environment, holding setting and collaborating services to use when building the new Context.
Method Detail
addProcessor()method
public function addProcessor(processor:ConfigurationProcessor):void

Adds a configuration processor.

Parameters

processor:ConfigurationProcessor — the processor to add

process()method 
public function process():Context

Finally processes the configuration, applying all processors that were added and initializing the Context. This process may be asynchronous. Listeners for the completion or error events can be registered with the returned Context.

Returns
Context — the Context, possibly not yet fully initialized