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.action.ActionFormBean; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.RequestProcessor; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface StrutsConfiguration { String module() default ""; Class formBeanType() default ActionFormBean.class; Class actionForwardType() default ActionForward.class; Class actionMappingType() default ActionMapping.class; Class controllerType() default RequestProcessor.class; MessageResources[] resources() default {}; StrutsPlugin[] plugins() default {}; String path() default ""; }