Packageorg.spicefactory.parsley.core.bootstrap
Interfacepublic interface BootstrapProcessor
Implementors DefaultBootstrapProcessor

Responsible for processing the configuration and initializing a Context.



Public Properties
 PropertyDefined By
  info : BootstrapInfo
[read-only] The environment info for this processor.
BootstrapProcessor
Public Methods
 MethodDefined By
  
Adds a configuration processor.
BootstrapProcessor
  
Finally processes the configuration, applying all processors that were added and initializing the Context.
BootstrapProcessor
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
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