Module org.eclipse.persistence.core
Class MissingDescriptorListener
java.lang.Object
org.eclipse.persistence.sessions.SessionEventAdapter
org.eclipse.persistence.internal.sessions.factories.MissingDescriptorListener
- All Implemented Interfaces:
EventListener,CoreSessionEventListener,SessionEventListener
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.
- Since:
- TopLink 10
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmissingDescriptor(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, postExecuteCall, postExecuteQuery, postFlushUnitOfWork, postLogin, postLogout, postMergeUnitOfWorkChangeSet, postReleaseClientSession, postReleaseUnitOfWork, postResumeUnitOfWork, postRollbackTransaction, preBeginTransaction, preCalculateUnitOfWorkChangeSet, preCommitTransaction, preCommitUnitOfWork, preDistributedMergeUnitOfWorkChangeSet, preExecuteCall, preExecuteQuery, preFlushUnitOfWork, preLogin, preLogout, preMergeUnitOfWorkChangeSet, prepareUnitOfWork, preReleaseClientSession, preReleaseConnection, preReleaseExclusiveConnection, preReleaseUnitOfWork, preRollbackTransaction
-
Field Details
-
XML_TYPE_CLASS
- See Also:
-
EIS_DESCRIPTOR_CLASS
- See Also:
-
XML_INTERACTION_CLASS
- See Also:
-
EIS_LOGIN_CLASS
- See Also:
-
XML_BINARY_MAPPING_CLASS
- See Also:
-
XML_BINARY_COLLECTION_MAPPING_CLASS
- See Also:
-
-
Constructor Details
-
MissingDescriptorListener
public MissingDescriptorListener()Default constructor.
-
-
Method Details
-
missingDescriptor
Description copied from interface:SessionEventListenerPUBLIC: 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:
missingDescriptorin interfaceSessionEventListener- Overrides:
missingDescriptorin classSessionEventAdapter
-