Package | org.spicefactory.parsley.core.bootstrap.impl |
Class | public class DefaultBootstrapProcessor |
Inheritance | DefaultBootstrapProcessor Object |
Implements | BootstrapProcessor |
Property | Defined By | ||
---|---|---|---|
info : BootstrapInfo [read-only]
The environment info for this processor. | DefaultBootstrapProcessor |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | DefaultBootstrapProcessor | ||
addProcessor(processor:ConfigurationProcessor):void
Adds a configuration processor. | DefaultBootstrapProcessor | ||
Finally processes the configuration, applying all processors that were added and
initializing the Context. | DefaultBootstrapProcessor |
info | property |
info:BootstrapInfo
[read-only] The environment info for this processor. Gives access to settings and collaborating services.
public function get info():BootstrapInfo
DefaultBootstrapProcessor | () | Constructor |
public function DefaultBootstrapProcessor(info:BootstrapInfo)
Creates a new instance.
Parametersinfo:BootstrapInfo — the environment, holding setting and collaborating services to use when building the new Context.
|
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.
ReturnsContext — the Context, possibly not yet fully initialized
|