Class MissingDescriptorListener
- java.lang.Object
-
- org.eclipse.persistence.sessions.SessionEventAdapter
-
- org.eclipse.persistence.internal.sessions.factories.MissingDescriptorListener
-
- All Implemented Interfaces:
java.util.EventListener,CoreSessionEventListener,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.- Since:
- TopLink 10
- Author:
- James Sutherland
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringEIS_DESCRIPTOR_CLASSprotected static java.lang.StringEIS_LOGIN_CLASSprotected static java.lang.StringXML_BINARY_COLLECTION_MAPPING_CLASSprotected static java.lang.StringXML_BINARY_MAPPING_CLASSprotected static java.lang.StringXML_INTERACTION_CLASSprotected static java.lang.StringXML_TYPE_CLASS
-
Constructor Summary
Constructors Constructor Description MissingDescriptorListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmissingDescriptor(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, postLogin, postLogout, postMergeUnitOfWorkChangeSet, postReleaseClientSession, postReleaseUnitOfWork, postResumeUnitOfWork, postRollbackTransaction, preBeginTransaction, preCalculateUnitOfWorkChangeSet, preCommitTransaction, preCommitUnitOfWork, preDistributedMergeUnitOfWorkChangeSet, preExecuteCall, preExecuteQuery, preLogin, preLogout, preMergeUnitOfWorkChangeSet, prepareUnitOfWork, preReleaseClientSession, preReleaseConnection, preReleaseExclusiveConnection, preReleaseUnitOfWork, preRollbackTransaction
-
-
-
-
Field Detail
-
XML_TYPE_CLASS
protected static final java.lang.String XML_TYPE_CLASS
- See Also:
- Constant Field Values
-
EIS_DESCRIPTOR_CLASS
protected static final java.lang.String EIS_DESCRIPTOR_CLASS
- See Also:
- Constant Field Values
-
XML_INTERACTION_CLASS
protected static final java.lang.String XML_INTERACTION_CLASS
- See Also:
- Constant Field Values
-
EIS_LOGIN_CLASS
protected static final java.lang.String EIS_LOGIN_CLASS
- See Also:
- Constant Field Values
-
XML_BINARY_MAPPING_CLASS
protected static final java.lang.String XML_BINARY_MAPPING_CLASS
- See Also:
- Constant Field Values
-
XML_BINARY_COLLECTION_MAPPING_CLASS
protected static final java.lang.String XML_BINARY_COLLECTION_MAPPING_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
missingDescriptor
public void missingDescriptor(SessionEvent event)
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
-
-