|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextAware
Indicates processor's capability of accessing a shared ProcessingContext
.
Method Summary | |
---|---|
ProcessingContext |
getContext()
Returns the associated processing context. |
void |
initContext()
Initializes (reflectively) the values of all fields annotated with FromContext
with values taken from the context. |
void |
setContext(ProcessingContext ctx)
Associates the processor with the given context. |
Method Detail |
---|
ProcessingContext getContext()
void initContext() throws ObjectProcessorException
FromContext
with values taken from the context. The context parameter name is either
the field name or a name specified as an argument of FromContext
.
ObjectProcessorException
void setContext(ProcessingContext ctx) throws ObjectProcessorException
ObjectProcessorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |