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 called methodName() 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
      String methodName  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?> target
      Define a forward to a target class.
    • 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 method JAXXContext.getContextValue(Class, String) it will be delegating to this class.
        Returns:
        the forwarded class
        Default:
        java.lang.Object.class