Packageorg.spicefactory.parsley.core.processor
Interfacepublic interface ObjectProcessorConfig
Implementors DefaultObjectProcessorConfig

The configuration for a single object processor.



Public Properties
 PropertyDefined By
  destroyPhase : DestroyPhase
[read-only] The phase the processor should be invoked in when the target instance gets removed from the Context or the Context gets destroyed.
ObjectProcessorConfig
  initPhase : InitPhase
[read-only] The phase the processor should be invoked in during initialization.
ObjectProcessorConfig
  processor : ObjectProcessor
[read-only] The processor configured by this instance.
ObjectProcessorConfig
  target : Member
[read-only] The target member (property or method) to get processed.
ObjectProcessorConfig
Public Methods
 MethodDefined By
  
Prepares a processor for the next target instance.
ObjectProcessorConfig
Property Detail
destroyPhaseproperty
destroyPhase:DestroyPhase  [read-only]

The phase the processor should be invoked in when the target instance gets removed from the Context or the Context gets destroyed.


Implementation
    public function get destroyPhase():DestroyPhase
initPhaseproperty 
initPhase:InitPhase  [read-only]

The phase the processor should be invoked in during initialization.


Implementation
    public function get initPhase():InitPhase
processorproperty 
processor:ObjectProcessor  [read-only]

The processor configured by this instance.


Implementation
    public function get processor():ObjectProcessor
targetproperty 
target:Member  [read-only]

The target member (property or method) to get processed. May be null if the processor does not explitly deal with just one member of the target instance. The majority of built-in processors have this property set.


Implementation
    public function get target():Member
Method Detail
prepareForNextTarget()method
public function prepareForNextTarget():ObjectProcessorConfig

Prepares a processor for the next target instance. This includes cloning the processor in case it is stateful and gets applied to a non-singleton object. Otherwise this instance may just return itself.

Returns
ObjectProcessorConfig — a processor for the next target instance