// Session Factory
// ///////////////////////////////////////////
@Override
public IsisSessionFactory doCreateSessionFactory(final DeploymentType deploymentType) throws IsisSystemException {
final PersistenceSessionFactory persistenceSessionFactory = obtainPersistenceSessionFactory(deploymentType);
final UserProfileLoader userProfileLoader = new UserProfileLoaderDefault(obtainUserProfileStore());
return createSessionFactory(deploymentType, userProfileLoader, persistenceSessionFactory);
}