org.eclipse.persistence.sessions.factories
Class MissingDescriptorListener
java.lang.Object
org.eclipse.persistence.sessions.SessionEventAdapter
org.eclipse.persistence.sessions.factories.MissingDescriptorListener
- All Implemented Interfaces:
- java.util.EventListener, SessionEventListener
public class MissingDescriptorListener
- extends SessionEventAdapter
INTERNAL:
Event listener class used to lazy-load the descriptors for EIS and XDB,
as they have external jar dependencies that may not be on the classpath.
- Author:
- James Sutherland
- Since:
- TopLink 10
Method Summary |
void |
missingDescriptor(SessionEvent event)
PUBLIC:
This event is raised on the session if a descriptor is missing for a class being persisted. |
Methods inherited from class org.eclipse.persistence.sessions.SessionEventAdapter |
moreRowsDetected, noRowsModified, outputParametersDetected, postAcquireClientSession, postAcquireConnection, postAcquireExclusiveConnection, postAcquireUnitOfWork, postBeginTransaction, postCalculateUnitOfWorkChangeSet, postCommitTransaction, postCommitUnitOfWork, postConnect, postDistributedMergeUnitOfWorkChangeSet, postExecuteQuery, postLogin, postMergeUnitOfWorkChangeSet, postReleaseClientSession, postReleaseUnitOfWork, postResumeUnitOfWork, postRollbackTransaction, preBeginTransaction, preCalculateUnitOfWorkChangeSet, preCommitTransaction, preCommitUnitOfWork, preDistributedMergeUnitOfWorkChangeSet, preExecuteQuery, preLogin, preMergeUnitOfWorkChangeSet, prepareUnitOfWork, preReleaseClientSession, preReleaseConnection, preReleaseExclusiveConnection, preReleaseUnitOfWork, preRollbackTransaction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_TYPE_CLASS
protected static java.lang.String XML_TYPE_CLASS
EIS_DESCRIPTOR_CLASS
protected static java.lang.String EIS_DESCRIPTOR_CLASS
XML_INTERACTION_CLASS
protected static java.lang.String XML_INTERACTION_CLASS
EIS_LOGIN_CLASS
protected static java.lang.String EIS_LOGIN_CLASS
XML_BINARY_MAPPING_CLASS
protected static java.lang.String XML_BINARY_MAPPING_CLASS
MissingDescriptorListener
public MissingDescriptorListener()
missingDescriptor
public void missingDescriptor(SessionEvent event)
- Description copied from class:
SessionEventAdapter
- PUBLIC:
This event is raised on the session if a descriptor is missing for a class being persisted.
This can be used to lazy register the descriptor or set of descriptors.
- Specified by:
missingDescriptor
in interface SessionEventListener
- Overrides:
missingDescriptor
in class SessionEventAdapter