.userGroupCallback(userGroupCallback)
.userInfo(userInfo);
if (listeners != null) {
for(TaskLifeCycleEventListener listener : listeners) {
configurator.listener(listener);
}
}
Environment environment = EnvironmentFactory.newEnvironment();
environment.set(EnvironmentName.TRANSACTION_MANAGER, transactionManager);
environment.set(EnvironmentName.ENTITY_MANAGER_FACTORY, entityManagerFactory);