package petstore.entity.cmd; import airliftj.persistence.cmd.*; /** * This is a helper class which registers all the stock Hibernate-based Commands with their corresponding interfaces. * @author Milan Zimmermann */ public class Petstore_HQLBasedCommandRegistry extends BaseCommandRegistry { /** * The default constructor populates itself with all the commands in this package. * At least one of these should be instantiated and passed into each TransactionManager that * shares the same set of registered objects. */ public Petstore_HQLBasedCommandRegistry() { super(); // register all commands that may be instantiated through the associated TransactionManager // queries this.registerCommandInterfaceAndImpl(SelectPersons.class,SelectPersons_HQL.class); } }