public PersistenceSession createPersistenceSession(final PersistenceSessionFactory persistenceSessionFactory) {
if (LOG.isDebugEnabled()) {
LOG.debug("installing " + this.getClass().getName());
}
final AdapterManagerExtended adapterManager = createAdapterManager(getConfiguration());
final ObjectAdapterFactory adapterFactory = createAdapterFactory(getConfiguration());
final ObjectFactory objectFactory = createObjectFactory(getConfiguration());
final OidGenerator oidGenerator = createOidGenerator(getConfiguration());
final RuntimeContext runtimeContext = createRuntimeContext(getConfiguration());