package pt.ist.struts.dispatch.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.apache.struts.util.MessageResourcesFactory; import org.apache.struts.util.PropertyMessageResourcesFactory; @Target({ ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) public @interface MessageResources { Class factory() default PropertyMessageResourcesFactory.class; String key(); boolean nullValue() default false; String parameter(); }