Packageorg.spicefactory.parsley.core.builder
Interfacepublic interface MethodProcessorBuilder

Builder for applying configuration to a single method processor.



Public Methods
 MethodDefined By
  
Specify the phase the processor should be invoked in when the target instance gets removed from the Context.
MethodProcessorBuilder
  
Specify the phase the processor should be invoked in during initialization.
MethodProcessorBuilder
  
Specifies the maximum of method parameters expected by this processor.
MethodProcessorBuilder
  
Specifies the minimum of method parameters expected by this processor.
MethodProcessorBuilder
Method Detail
destroyIn()method
public function destroyIn(phase:DestroyPhase):MethodProcessorBuilder

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

Returns
MethodProcessorBuilder — this builder instance for method chaining
initIn()method 
public function initIn(phase:InitPhase):MethodProcessorBuilder

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

Returns
MethodProcessorBuilder — this builder instance for method chaining
maxParams()method 
public function maxParams(count:int):MethodProcessorBuilder

Specifies the maximum of method parameters expected by this processor.

Parameters

count:int — the maximum of method parameters expected by this processor

Returns
MethodProcessorBuilder — this builder instance for method chaining
minParams()method 
public function minParams(count:int):MethodProcessorBuilder

Specifies the minimum of method parameters expected by this processor.

Parameters

count:int — the minimum of method parameters expected by this processor

Returns
MethodProcessorBuilder — this builder instance for method chaining