Package io.jmix.eclipselink.impl
Class DescriptorEventManagerWrapper
java.lang.Object
org.eclipse.persistence.core.descriptors.CoreDescriptorEventManager<org.eclipse.persistence.descriptors.DescriptorEvent>
org.eclipse.persistence.descriptors.DescriptorEventManager
io.jmix.eclipselink.impl.DescriptorEventManagerWrapper
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescriptorEventManagerWrapper
extends org.eclipse.persistence.descriptors.DescriptorEventManager
implements Cloneable, Serializable
INTERNAL.
EclipseLink's DescriptorEventManager that doesn't invoke listeners for base classes.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.eclipse.persistence.descriptors.DescriptorEventManager
Fields inherited from class org.eclipse.persistence.descriptors.DescriptorEventManager
AboutToDeleteEvent, AboutToInsertEvent, AboutToUpdateEvent, defaultEventListeners, descriptor, descriptorEventHolders, entityEventListener, entityEventManagers, entityListenerEventListeners, entityListenerEventManagers, eventListeners, eventMethods, eventSelectors, excludeDefaultListeners, excludeSuperclassListeners, hasAnyEventListeners, internalListeners, NumberOfEvents, PostBuildEvent, PostCloneEvent, PostDeleteEvent, PostInsertEvent, PostMergeEvent, PostRefreshEvent, PostUpdateEvent, PostWriteEvent, PreDeleteEvent, PreInsertEvent, PrePersistEvent, PreRemoveEvent, PreUpdateEvent, PreUpdateWithChangesEvent, PreWriteEvent
-
Constructor Summary
ConstructorDescriptionDescriptorEventManagerWrapper
(org.eclipse.persistence.descriptors.DescriptorEventManager delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefaultEventListener
(org.eclipse.persistence.descriptors.DescriptorEventListener listener) void
addEntityListenerEventListener
(org.eclipse.persistence.descriptors.DescriptorEventListener listener) void
addEntityListenerHolder
(org.eclipse.persistence.descriptors.SerializableDescriptorEventHolder holder) void
addInternalListener
(org.eclipse.persistence.descriptors.DescriptorEventListener listener) void
addListener
(org.eclipse.persistence.descriptors.DescriptorEventListener listener) clone()
boolean
boolean
void
executeEvent
(org.eclipse.persistence.descriptors.DescriptorEvent event) List<org.eclipse.persistence.descriptors.DescriptorEventListener>
List<org.eclipse.persistence.descriptors.SerializableDescriptorEventHolder>
org.eclipse.persistence.descriptors.DescriptorEventListener
List<org.eclipse.persistence.descriptors.DescriptorEventListener>
List<org.eclipse.persistence.descriptors.DescriptorEventListener>
boolean
boolean
boolean
boolean
boolean
void
initialize
(org.eclipse.persistence.internal.sessions.AbstractSession session) void
notifyListeners
(org.eclipse.persistence.descriptors.DescriptorEvent event) void
processDescriptorEventHolders
(org.eclipse.persistence.internal.sessions.AbstractSession session, ClassLoader classLoader) void
remoteInitialization
(org.eclipse.persistence.internal.sessions.AbstractSession session) void
removeListener
(org.eclipse.persistence.descriptors.DescriptorEventListener listener) void
setAboutToDeleteSelector
(String aboutToDeleteSelector) void
setAboutToInsertSelector
(String aboutToInsertSelector) void
setAboutToUpdateSelector
(String aboutToUpdateSelector) void
setDescriptor
(org.eclipse.persistence.descriptors.ClassDescriptor descriptor) void
setDescriptorEventHolders
(List<org.eclipse.persistence.descriptors.SerializableDescriptorEventHolder> descriptorEventHolders) void
setEntityEventListener
(org.eclipse.persistence.descriptors.DescriptorEventListener listener) void
setExcludeDefaultListeners
(boolean excludeDefaultListeners) void
setExcludeSuperclassListeners
(boolean excludeSuperclassListeners) void
setPostBuildSelector
(String postBuildSelector) void
setPostCloneSelector
(String postCloneSelector) void
setPostDeleteSelector
(String postDeleteSelector) void
setPostInsertSelector
(String postInsertSelector) void
setPostMergeSelector
(String postMergeSelector) void
setPostRefreshSelector
(String postRefreshSelector) void
setPostUpdateSelector
(String postUpdateSelector) void
setPostWriteSelector
(String postWriteSelector) void
setPreDeleteSelector
(String preDeleteSelector) void
setPreInsertSelector
(String preInsertSelector) void
setPrePersistSelector
(String prePersistSelector) void
setPreRemoveSelector
(String preRemoveSelector) void
setPreUpdateSelector
(String preUpdateSelector) void
setPreWriteSelector
(String preWriteSelector) Methods inherited from class org.eclipse.persistence.descriptors.DescriptorEventManager
findMethod, getDescriptor, getEventMethods, getEventSelectors, hasAnyListeners, initializeEJB30EventManagers, notifyEJB30Listeners, notifyListener, setEventListeners, setEventMethods, setEventSelectors, setHasAnyEventListeners
-
Field Details
-
delegate
protected final org.eclipse.persistence.descriptors.DescriptorEventManager delegate
-
-
Constructor Details
-
DescriptorEventManagerWrapper
public DescriptorEventManagerWrapper(org.eclipse.persistence.descriptors.DescriptorEventManager delegate)
-
-
Method Details
-
notifyListeners
public void notifyListeners(org.eclipse.persistence.descriptors.DescriptorEvent event) - Overrides:
notifyListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
remoteInitialization
public void remoteInitialization(org.eclipse.persistence.internal.sessions.AbstractSession session) - Overrides:
remoteInitialization
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
removeListener
public void removeListener(org.eclipse.persistence.descriptors.DescriptorEventListener listener) - Overrides:
removeListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setAboutToDeleteSelector
- Overrides:
setAboutToDeleteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setAboutToInsertSelector
- Overrides:
setAboutToInsertSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setAboutToUpdateSelector
- Overrides:
setAboutToUpdateSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setDescriptor
public void setDescriptor(org.eclipse.persistence.descriptors.ClassDescriptor descriptor) - Overrides:
setDescriptor
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setEntityEventListener
public void setEntityEventListener(org.eclipse.persistence.descriptors.DescriptorEventListener listener) - Overrides:
setEntityEventListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setExcludeDefaultListeners
public void setExcludeDefaultListeners(boolean excludeDefaultListeners) - Overrides:
setExcludeDefaultListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setExcludeSuperclassListeners
public void setExcludeSuperclassListeners(boolean excludeSuperclassListeners) - Overrides:
setExcludeSuperclassListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostBuildSelector
- Overrides:
setPostBuildSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostCloneSelector
- Overrides:
setPostCloneSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostDeleteSelector
- Overrides:
setPostDeleteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostInsertSelector
- Overrides:
setPostInsertSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostMergeSelector
- Overrides:
setPostMergeSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostRefreshSelector
- Overrides:
setPostRefreshSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostUpdateSelector
- Overrides:
setPostUpdateSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPostWriteSelector
- Overrides:
setPostWriteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPreDeleteSelector
- Overrides:
setPreDeleteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPreInsertSelector
- Overrides:
setPreInsertSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPrePersistSelector
- Overrides:
setPrePersistSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPreRemoveSelector
- Overrides:
setPreRemoveSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPreUpdateSelector
- Overrides:
setPreUpdateSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setPreWriteSelector
- Overrides:
setPreWriteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
addDefaultEventListener
public void addDefaultEventListener(org.eclipse.persistence.descriptors.DescriptorEventListener listener) - Overrides:
addDefaultEventListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
addEntityListenerEventListener
public void addEntityListenerEventListener(org.eclipse.persistence.descriptors.DescriptorEventListener listener) - Overrides:
addEntityListenerEventListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
addListener
public void addListener(org.eclipse.persistence.descriptors.DescriptorEventListener listener) - Overrides:
addListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
addInternalListener
public void addInternalListener(org.eclipse.persistence.descriptors.DescriptorEventListener listener) - Overrides:
addInternalListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
addEntityListenerHolder
public void addEntityListenerHolder(org.eclipse.persistence.descriptors.SerializableDescriptorEventHolder holder) - Overrides:
addEntityListenerHolder
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
clone
- Overrides:
clone
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
processDescriptorEventHolders
public void processDescriptorEventHolders(org.eclipse.persistence.internal.sessions.AbstractSession session, ClassLoader classLoader) - Overrides:
processDescriptorEventHolders
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
excludeDefaultListeners
public boolean excludeDefaultListeners()- Overrides:
excludeDefaultListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
excludeSuperclassListeners
public boolean excludeSuperclassListeners()- Overrides:
excludeSuperclassListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
executeEvent
public void executeEvent(org.eclipse.persistence.descriptors.DescriptorEvent event) throws org.eclipse.persistence.exceptions.DescriptorException - Overrides:
executeEvent
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
- Throws:
org.eclipse.persistence.exceptions.DescriptorException
-
getAboutToDeleteSelector
- Overrides:
getAboutToDeleteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getAboutToInsertSelector
- Overrides:
getAboutToInsertSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getAboutToUpdateSelector
- Overrides:
getAboutToUpdateSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getDefaultEventListeners
- Overrides:
getDefaultEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getDescriptorEventHolders
public List<org.eclipse.persistence.descriptors.SerializableDescriptorEventHolder> getDescriptorEventHolders()- Overrides:
getDescriptorEventHolders
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
setDescriptorEventHolders
public void setDescriptorEventHolders(List<org.eclipse.persistence.descriptors.SerializableDescriptorEventHolder> descriptorEventHolders) - Overrides:
setDescriptorEventHolders
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getEntityEventListener
public org.eclipse.persistence.descriptors.DescriptorEventListener getEntityEventListener()- Overrides:
getEntityEventListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getEntityListenerEventListeners
public List<org.eclipse.persistence.descriptors.DescriptorEventListener> getEntityListenerEventListeners()- Overrides:
getEntityListenerEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getEventListeners
- Overrides:
getEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostBuildSelector
- Overrides:
getPostBuildSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostCloneSelector
- Overrides:
getPostCloneSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostDeleteSelector
- Overrides:
getPostDeleteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostInsertSelector
- Overrides:
getPostInsertSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostMergeSelector
- Overrides:
getPostMergeSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostRefreshSelector
- Overrides:
getPostRefreshSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostUpdateSelector
- Overrides:
getPostUpdateSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPostWriteSelector
- Overrides:
getPostWriteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPrePersistSelector
- Overrides:
getPrePersistSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPreDeleteSelector
- Overrides:
getPreDeleteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPreInsertSelector
- Overrides:
getPreInsertSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPreRemoveSelector
- Overrides:
getPreRemoveSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPreUpdateSelector
- Overrides:
getPreUpdateSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
getPreWriteSelector
- Overrides:
getPreWriteSelector
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
hasAnyEventListeners
public boolean hasAnyEventListeners()- Overrides:
hasAnyEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
hasDefaultEventListeners
public boolean hasDefaultEventListeners()- Overrides:
hasDefaultEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
hasEntityEventListener
public boolean hasEntityEventListener()- Overrides:
hasEntityEventListener
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
hasInternalEventListeners
public boolean hasInternalEventListeners()- Overrides:
hasInternalEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
hasEntityListenerEventListeners
public boolean hasEntityListenerEventListeners()- Overrides:
hasEntityListenerEventListeners
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-
initialize
public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session) - Overrides:
initialize
in classorg.eclipse.persistence.descriptors.DescriptorEventManager
-