// private static final long serialVersionUID = 1L;
public static <T> Container create(Class<T> beanClass, ResultListHandler<T> handler) {
GenericBeanFactory<T> queryFactory = new GenericBeanFactory<T>(beanClass, handler);
PaginationContext paginationContext = Beans.getReference(PaginationContext.class);
LazyQueryContainer lazyQueryContainer = new LazyQueryContainer(queryFactory, false, paginationContext
.getPagination(beanClass, true).getPageSize());
return lazyQueryContainer;
}