public class TenantSessionListener
extends org.eclipse.persistence.sessions.SessionEventAdapter
AbstractSessionListener
setting the tenant for the persistence provider.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_TENANT_ID |
Constructor and Description |
---|
TenantSessionListener() |
Modifier and Type | Method and Description |
---|---|
void |
postAcquireClientSession(org.eclipse.persistence.sessions.SessionEvent event) |
protected void |
setSessionProperty(org.eclipse.persistence.sessions.Session session,
String propertyName,
String value) |
missingDescriptor, moreRowsDetected, noRowsModified, outputParametersDetected, postAcquireConnection, postAcquireExclusiveConnection, postAcquireUnitOfWork, postBeginTransaction, postCalculateUnitOfWorkChangeSet, postCommitTransaction, postCommitUnitOfWork, postConnect, postDistributedMergeUnitOfWorkChangeSet, postExecuteQuery, postLogin, postLogout, postMergeUnitOfWorkChangeSet, postReleaseClientSession, postReleaseUnitOfWork, postResumeUnitOfWork, postRollbackTransaction, preBeginTransaction, preCalculateUnitOfWorkChangeSet, preCommitTransaction, preCommitUnitOfWork, preDistributedMergeUnitOfWorkChangeSet, preExecuteQuery, preLogin, preLogout, preMergeUnitOfWorkChangeSet, prepareUnitOfWork, preReleaseClientSession, preReleaseConnection, preReleaseExclusiveConnection, preReleaseUnitOfWork, preRollbackTransaction
public static final String PROPERTY_TENANT_ID
public void postAcquireClientSession(org.eclipse.persistence.sessions.SessionEvent event)
postAcquireClientSession
in interface org.eclipse.persistence.sessions.SessionEventListener
postAcquireClientSession
in class org.eclipse.persistence.sessions.SessionEventAdapter
Copyright © 2018 SAP SE. All rights reserved.