org.ioc.commons.flowcontrol.common.Params Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ioc-commons Show documentation
Show all versions of ioc-commons Show documentation
This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.
package org.ioc.commons.flowcontrol.common;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Useful annotation to specify the parameters types sent with events and
* actions.
*
* The main porpouse of this annotation is to clarify to the developers the
* types of parameters (Object's array) that is going to be sent along with an
* event or an action.
*
* @author Jesús Lunar Pérez
*/
@Retention(RetentionPolicy.SOURCE)
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
public @interface Params {
public Class>[] value() default {};
public ParamInfo[] paramInfo() default {};
public Class> collectionOf() default Object.class;
}