persistentClasses = ClassUtil.get(clazzezPkg, ColumnFamily.class);
}
public static void initWithClasses(Class<?>... clazzez) throws Exception {
List<Class<?>> classList = Arrays.asList(clazzez);
factory = new HectorPersistenceFactory();
factory.setDefaultKeySpace(DEFAULT_KEYSPACE);
factory.setContactNodes(new String[]{RPC_LISTEN_ADDRESS});
factory.setPoolName("Main");
factory.setDebug(false);
factory.setThriftPort(RPC_PORT);