Package | org.spicefactory.parsley.core.builder |
Interface | public interface MethodBuilder |
Implementors | DefaultMethodBuilder |
Method | Defined 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 |
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
|
MethodProcessorBuilder — a builder for configuring the processor
|