| Package | org.spicefactory.parsley.core.builder.impl |
| Class | public class DefaultObjectProcessorBuilder |
| Inheritance | DefaultObjectProcessorBuilder Object |
| Implements | ObjectProcessorBuilder, ObjectDefinitionBuilderPart |
| Method | Defined By | ||
|---|---|---|---|
apply(target:ObjectDefinition):void
Applies this builder part to the final definition
| DefaultObjectProcessorBuilder | ||
Specify the phase the processor should be invoked in when the target instance
gets removed from the Context. | DefaultObjectProcessorBuilder | ||
expectType(type:Class):ObjectProcessorBuilder
Specifies the required type of the target instance configured by this processor. | DefaultObjectProcessorBuilder | ||
Specify the phase the processor should be invoked in during initialization. | DefaultObjectProcessorBuilder | ||
| apply | () | method |
public function apply(target:ObjectDefinition):voidApplies this builder part to the final definition
Parameters
target:ObjectDefinition — the final definition to apply this part to
|
| destroyIn | () | method |
public function destroyIn(phase:DestroyPhase):ObjectProcessorBuilder
Specify the phase the processor should be invoked in when the target instance
gets removed from the Context.
The default is DestroyPhase.postDestroy().
Parameters
phase:DestroyPhase — the phase the processor should be invoked in when the target instance
gets removed from the Context
|
ObjectProcessorBuilder — this builder instance for method chaining
|
| expectType | () | method |
public function expectType(type:Class):ObjectProcessorBuilderSpecifies the required type of the target instance configured by this processor.
Parameters
type:Class — the required type of the target instance configured by this processor
|
ObjectProcessorBuilder — this builder instance for method chaining
|
| initIn | () | method |
public function initIn(phase:InitPhase):ObjectProcessorBuilder
Specify the phase the processor should be invoked in during initialization.
The default is InitPhase.preInit().
Parameters
phase:InitPhase — the phase the processor should be invoked in during initialization
|
ObjectProcessorBuilder — this builder instance for method chaining
|