Modifier and Type | Method and Description |
---|---|
void |
MetadataDescriptor.addDefaultEventListener(MetadataEntityListener listener)
INTERNAL:
|
void |
MetadataDescriptor.addEntityListenerEventListener(MetadataEntityListener listener)
INTERNAL:
|
static Method[] |
MetadataHelper.getCandidateCallbackMethodsForDefaultListener(MetadataEntityListener listener)
INTERNAL:
Returns the same candidate methods as an entity listener would.
|
static Method[] |
MetadataHelper.getCandidateCallbackMethodsForEntityListener(MetadataEntityListener listener)
INTERNAL:
Returns a list of methods from the given class, which can have private,
protected, package and public access, AND will also return public
methods from superclasses.
|
void |
MetadataDescriptor.setEntityEventListener(MetadataEntityListener listener)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
MetadataEntityListener |
ClassAccessor.processEntityEventListener(ClassLoader loader)
INTERNAL: (Overridden in XMLCLassAccessor)
Process the entity class for lifecycle callback event methods.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ClassAccessor.processCallbackMethods(Method[] candidateMethods,
MetadataEntityListener listener)
INTERNAL:
Process the array of methods for lifecyle callback events and set them
on the given event listener.
|
protected void |
ClassAccessor.processLifecycleEvent(MetadataEntityListener listener,
Node node,
String event,
XMLHelper helper,
Method[] candidateMethods)
INTERNAL:
Process the XML lifecycle event for the given listener.
|
protected void |
ClassAccessor.processLifecycleEvents(MetadataEntityListener listener,
Node node,
XMLHelper helper,
Method[] candidateMethods)
INTERNAL:
Process the XML lifecycle events for the given listener.
|
void |
ClassAccessor.processMappedSuperclassEventListener(MetadataEntityListener listener,
Class entityClass,
ClassLoader loader)
INTERNAL: (Overridden in XMLCLassAccessor)
Process the mapped superclass class for lifecycle callback event methods.
|
protected void |
ClassAccessor.setPostLoad(Method method,
MetadataEntityListener listener)
INTERNAL:
Set the post load event method on the listener.
|
protected void |
ClassAccessor.setPostPersist(Method method,
MetadataEntityListener listener)
INTERNAL:
Set the post persist event method on the listener.
|
protected void |
ClassAccessor.setPostRemove(Method method,
MetadataEntityListener listener)
INTERNAL:
Set the post remove event method on the listener.
|
protected void |
ClassAccessor.setPostUpdate(Method method,
MetadataEntityListener listener)
INTERNAL:
* Set the post update event method on the listener.
|
protected void |
ClassAccessor.setPrePersist(Method method,
MetadataEntityListener listener)
INTERNAL:
Set the pre persist event method on the listener.
|
protected void |
ClassAccessor.setPreRemove(Method method,
MetadataEntityListener listener)
INTERNAL:
Set the pre remove event method on the listener.
|
protected void |
ClassAccessor.setPreUpdate(Method method,
MetadataEntityListener listener)
INTERNAL:
Set the pre update event method on the listener.
|
Modifier and Type | Class and Description |
---|---|
class |
MetadataEntityClassListener
A callback listener for those entities that define callback methods.
|
Modifier and Type | Method and Description |
---|---|
MetadataEntityListener |
XMLClassAccessor.processEntityEventListener(ClassLoader loader)
INTERNAL: (OVERRIDE)
Process the entity class for lifecycle callback event methods.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLClassAccessor.processMappedSuperclassEventListener(MetadataEntityListener listener,
Class entityClass,
ClassLoader loader)
INTERNAL: (OVERRIDE)
Process the mapped superclass class for lifecycle callback event methods.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLEntityClassListener
An XML specified entity class event listener.
|
class |
XMLEntityListener
An XML specified entity listener.
|
Copyright © 2023. All rights reserved.