|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.introspector.BasicIntrospector
public class BasicIntrospector
The default introspector implementation.
| Constructor Summary | |
|---|---|
BasicIntrospector()
|
|
| Method Summary | |
|---|---|
BeanProvider |
getBeanProvider()
Returns the current bean provider for this introspector. |
void |
inject(List<FieldAnnotation<In>> inAnnotations,
Object component,
LogicRequest request)
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 beanProvider)
Overrides the current bean provider for this introspector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicIntrospector()
| Method Detail |
|---|
public List<ValidationMessage> readParameters(List<ReadParameter> parametersToRead,
Object component,
LogicRequest logicRequest,
ConverterManager converterManager,
Object[] methodParamObjects)
throws SettingException
Introspector
readParameters in interface IntrospectorSettingException
public void inject(List<FieldAnnotation<In>> inAnnotations,
Object component,
LogicRequest request)
throws ComponentInstantiationException,
SettingException
Introspector
inject in interface IntrospectorinAnnotations - annotationscomponent - current objectrequest - logic context
ComponentInstantiationException - unable to instantiate some component for the injection
SettingException - unable to set some field for the injection
public void outject(LogicRequest logicRequest,
Object component,
Outjectable type)
throws GettingException,
MethodInvocationException
outject in interface IntrospectorGettingException
MethodInvocationExceptionpublic BeanProvider getBeanProvider()
Introspector
getBeanProvider in interface Introspectorpublic void setBeanProvider(BeanProvider beanProvider)
Introspector
setBeanProvider in interface IntrospectorbeanProvider - the new bean provider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||