jaxx.runtime
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:
chemit

Required Element Summary
 java.lang.String methodName
           
 
Optional Element Summary
 java.lang.Class<?> target
          Define a forward to a target class.
 

Element Detail

methodName

public abstract java.lang.String methodName
Returns:
the name of the method to access data

target

public abstract java.lang.Class<?> target
Define a forward to a target class. When the target class will be asked with method DefaultApplicationContext.getContextValue(java.lang.Class, java.lang.String) it will be delegating to this class.

Returns:
the forwarded class
Default:
java.lang.Object.class


Copyright © 2008-2009 CodeLutin. All Rights Reserved.