|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Introspector
The instrospector is responsible for doing injection/outjection and pushing parameters in the business logic.
| Method Summary | |
|---|---|
BeanProvider |
getBeanProvider()
Returns the current bean provider for this introspector. |
void |
inject(List<FieldAnnotation<In>> inAnnotations,
Object component,
LogicRequest context)
Call for injection: tries to inject each field listed on the inAnnotations on object component using the logic context passed as argument |
void |
outject(LogicRequest logicRequest,
Object component,
Outjectable type)
|
List<ValidationMessage> |
readParameters(List<ReadParameter> parametersToRead,
Object component,
LogicRequest logicRequest,
ConverterManager converterManager,
Object[] methodParamObjects)
Reads all parameters from the request and tries to fill the read annotation of a class. |
void |
setBeanProvider(BeanProvider provider)
Overrides the current bean provider for this introspector. |
| Method Detail |
|---|
List<ValidationMessage> readParameters(List<ReadParameter> parametersToRead,
Object component,
LogicRequest logicRequest,
ConverterManager converterManager,
Object[] methodParamObjects)
throws SettingException
methodParamObjects -
SettingException
void inject(List<FieldAnnotation<In>> inAnnotations,
Object component,
LogicRequest context)
throws ComponentInstantiationException,
SettingException
inAnnotations - annotationscomponent - current objectcontext - logic context
ComponentInstantiationException - unable to instantiate some component for the injection
SettingException - unable to set some field for the injection
void outject(LogicRequest logicRequest,
Object component,
Outjectable type)
throws GettingException,
MethodInvocationException
GettingException
MethodInvocationExceptionBeanProvider getBeanProvider()
void setBeanProvider(BeanProvider provider)
provider - the new bean provider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||