/** * Adds an object to be ordered. * * @param id unique, qualified id for the target * @param target the object to be ordered (or null as a placeholder) * @param constraints optional, variable constraints * @see #add(org.apache.tapestry5.ioc.Orderable) */ public void add(String id, T target, String... constraints) { lock.check(); add(new Orderable<T>(id, target, constraints)); }
/** * Adds an object to be ordered. * * @param id unique, qualified id for the target * @param target the object to be ordered (or null as a placeholder) * @param constraints optional, variable constraints * @see #add(org.apache.tapestry5.ioc.Orderable) */ public void add(String id, T target, String... constraints) { lock.check(); add(new Orderable<T>(id, target, constraints)); }