Packageorg.spicefactory.parsley.config.impl
Classpublic class DefaultConfiguration
InheritanceDefaultConfiguration Inheritance Object
Implements Configuration

Default implementation of the Configuration interface.



Public Properties
 PropertyDefined By
  builders : ObjectDefinitionBuilderFactory
[read-only] The factory to create new object definition builders from.
DefaultConfiguration
  context : Context
[read-only] The target Context this configuration is used for.
DefaultConfiguration
  domain : ApplicationDomain
[read-only] The ApplicationDomain to use for reflection.
DefaultConfiguration
  registry : ObjectDefinitionRegistry
[read-only] The registry holding object definitions for the Context.
DefaultConfiguration
Public Methods
 MethodDefined By
  
Creates a new instance.
DefaultConfiguration
Property Detail
buildersproperty
builders:ObjectDefinitionBuilderFactory  [read-only]

The factory to create new object definition builders from.


Implementation
    public function get builders():ObjectDefinitionBuilderFactory
contextproperty 
context:Context  [read-only]

The target Context this configuration is used for.


Implementation
    public function get context():Context
domainproperty 
domain:ApplicationDomain  [read-only]

The ApplicationDomain to use for reflection.


Implementation
    public function get domain():ApplicationDomain
registryproperty 
registry:ObjectDefinitionRegistry  [read-only]

The registry holding object definitions for the Context.


Implementation
    public function get registry():ObjectDefinitionRegistry
Constructor Detail
DefaultConfiguration()Constructor
public function DefaultConfiguration(registry:ObjectDefinitionRegistry, assemblers:Array)

Creates a new instance.

Parameters
registry:ObjectDefinitionRegistry — the registry to for registering object definitions
 
assemblers:Array — the assemblers to use for assembling decorators for object definitions