Packageorg.spicefactory.parsley.core.builder
Interfacepublic interface MethodBuilder
Implementors DefaultMethodBuilder

Builder for applying configuration to a single method.



Public Methods
 MethodDefined By
  
invoke(... params):void
Instructs the builder to invoke the target method with the specified parameters during initialization of the target instance.
MethodBuilder
  
Adds a processor for this method.
MethodBuilder
Method Detail
invoke()method
public function invoke(... params):void

Instructs the builder to invoke the target method with the specified parameters during initialization of the target instance. Parameters may be a simple values or instances that implements ResolvableValue to be resolved at the time the method will get invoked, like those values returned by Inject.byType() and related methods.

Parameters

... params — the method parameters

process()method 
public function process(processor:MethodProcessor):MethodProcessorBuilder

Adds a processor for this method.

Parameters

processor:MethodProcessor — the method processor to add

Returns
MethodProcessorBuilder — a builder for configuring the processor