jaxx.runtime.context
Annotation Type DefaultApplicationContext.MethodAccess
@Retention(value=RUNTIME)
@Target(value=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 called methodName() with
a single String parameter.
- Since:
- 1.2
- Version:
- 1.0, 21/02/09
- Author:
- tchemit
|
Optional Element Summary |
Class<?> |
target
Define a forward to a target class. |
methodName
public abstract String methodName
- Returns:
- the name of the method to access data
target
public abstract Class<?> target
- Define a forward to a target class. When the target class will be
asked with method
JAXXContext.getContextValue(Class, String)
it will be delegating to this class.
- Returns:
- the forwarded class
- Default:
- java.lang.Object.class
Copyright © 2008-2010 CodeLutin. All Rights Reserved.