Package org.nuiton.jaxx.runtime.context
Annotation Type DefaultApplicationContext.MethodAccess
-
@Retention(RUNTIME) @Target(TYPE) public static @interface DefaultApplicationContext.MethodAccess
A class annotated @MethodAccess is used by context to obtain the value of an entry via a declared method. Note : A such class must have a method calledmethodName()with a single String parameter.- Since:
- 1.2
- Version:
- 1.0, 21/02/09
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringmethodName
-
-
-
Element Detail
-
methodName
String methodName
- Returns:
- the name of the method to access data
-
-
-
target
Class<?> target
Define a forward to a target class. When the target class will be asked with methodJAXXContext.getContextValue(Class, String)it will be delegating to this class.- Returns:
- the forwarded class
- Default:
- java.lang.Object.class
-
-