/** * @see org.apache.tapestry5.corelib.pages.PageCatalog */ @ReorderProperties("definedPages,loadedPages,uniquePageNames,selectors,components") public class PageCatalogTotals { /** * Total number of pages loaded. */ public int loadedPages; /** * Number of total page names. */ public int definedPages; /** * Number of unique page names (remember, same page may appear for multiple selectors). */ public int uniquePageNames; /** * Total number of components. */ public int components; /** * All selectors represented in the pool, often just 'en'. */ public String selectors; }
@ReorderProperties("title,album") public interface SimpleTrack { String getTitle(); String getAlbum(); int getRating(); }
/** * Service definition with annotations so we can test copying the service interface * annotations, both in class and methods, to the service proxy. */ @ReorderProperties("reorder") // no meaning, just for testing whether the proxy will have it public interface AnnotatedServiceInterface { @Advise(id = "id", serviceInterface = NonAnnotatedServiceInterface.class) public String execute(@IntermediateType(String.class) int i); }
/** * Service definition so we can test copying the service implementation * annotations, both in class and methods, to the service proxy. */ @ReorderProperties("wrong") // no meaning, just for testing whether the proxy will have it public interface NonAnnotatedServiceInterface { public String execute(int i); @Advise(id = "wrong") public String duplicatedAnnotation(@IntermediateType(Object.class) String parameter); }
@ReorderProperties("reorder") // no meaning, just for testing whether the proxy will have it public class NonAnnotatedServiceInterfaceImpl implements NonAnnotatedServiceInterface
@ReorderProperties("third") public class PropertyOrderBean
@ReorderProperties("third") public class PropertyOrderBean
@ReorderProperties("larry,moe,shemp,curly") public class StoogeBean
@ReorderProperties("larry,moe,shemp,curly") public class StoogeBean
@ReorderProperties("readonly,foobar,writeonly,objectvalue") public class TargetBean extends DefaultComponent
@ReorderProperties("firstname,lastname,email,birthyear,sex") public class RegistrationData
@ReorderProperties("userId,password") public class PerFormValidationMessageDemo { @Validate("required,minlength") @Property private String userId; @Validate("required") @DataType("password") @Property private String password; }
@ReorderProperties("severity,duration,message") public class AlertsDemo