org.javalid.annotations.core
Annotation Type JvMethod


@Target(value={})
@Retention(value=RUNTIME)
@Documented
public @interface JvMethod

This annotation is used inside @Lookup related annotations. If specified, it defines that *this* method must be called upon the looked up instance (e.g. spring bean) or on the ordinary javabean.

Since:
1.0
Version:
1.0
Author:
M.Reuvers

Required Element Summary
 java.lang.String name
          The name of the method to be called on a found lookup instance (from spring,seam ..).
 
Optional Element Summary
 JvParam[] params
          Optional parameters for the method if required.
 

Element Detail

name

public abstract java.lang.String name
The name of the method to be called on a found lookup instance (from spring,seam ..).

params

public abstract JvParam[] params
Optional parameters for the method if required. Note that the lookup of these methods must be getMethods() according to javabean specification. The value returned will then be used as a parameter value. You can also specify a direct value as String value.

Default:
{}