| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ReadOnlyMap | |
| private final ReadOnlyMap | |
| private final ReadOnlyMap | |
| private final ReadOnlyMap | |
| private final ReadOnlyMap | |
| private final ReadOnlyMap | |
| private final ReadOnlyMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private static ReadOnlyMap | |
| private ReadOnlyMap | |
| public boolean | hasRegisteredCallbacks(Class<?>
The entity Class to check against entityClass, CallbackType The type of callback to look for callbackType)Implements org. |
| private boolean | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public void | release()
Implements org. |
| postCreates | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> postCreates | |
| postLoads | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> postLoads | |
| postRemoves | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> postRemoves | |
| postUpdates | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> postUpdates | |
| preCreates | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> preCreates | |
| preRemoves | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> preRemoves | |
| preUpdates | back to summary |
|---|---|
| private final ReadOnlyMap<Class<T>, Callback[]> preUpdates | |
| CallbackRegistryImpl | back to summary |
|---|---|
| public CallbackRegistryImpl(Map<Class<?>, Callback[]> preCreates, Map<Class<?>, Callback[]> postCreates, Map<Class<?>, Callback[]> preRemoves, Map<Class<?>, Callback[]> postRemoves, Map<Class<?>, Callback[]> preUpdates, Map<Class<?>, Callback[]> postUpdates, Map<Class<?>, Callback[]> postLoads) | |
| callback | back to summary |
|---|---|
| private boolean callback(Callback[] callbacks, Object bean) | |
| createBackingMap | back to summary |
|---|---|
| private static ReadOnlyMap | |
| determineAppropriateCallbackMap | back to summary |
|---|---|
| private ReadOnlyMap | |
| hasRegisteredCallbacks | back to summary |
|---|---|
| public boolean hasRegisteredCallbacks(Class<?> entityClass, CallbackType callbackType) Implements org. Doc from org. Do we have any registered callbacks of the given type for the given entity?
| |
| notEmpty | back to summary |
|---|---|
| private boolean notEmpty(Callback[] callbacks) | |
| postCreate | back to summary |
|---|---|
| public void postCreate(Object bean) Implements org.
| |
| postLoad | back to summary |
|---|---|
| public boolean postLoad(Object bean) Implements org.
| |
| postRemove | back to summary |
|---|---|
| public void postRemove(Object bean) Implements org.
| |
| postUpdate | back to summary |
|---|---|
| public void postUpdate(Object bean) Implements org.
| |
| preCreate | back to summary |
|---|---|
| public void preCreate(Object bean) Implements org.
| |
| preRemove | back to summary |
|---|---|
| public void preRemove(Object bean) Implements org.
| |
| preUpdate | back to summary |
|---|---|
| public boolean preUpdate(Object bean) Implements org.
| |
| release | back to summary |
|---|---|
| public void release() Implements org. Doc from org. Signals that the CallbackRegistry will no longer be used. In particular, it is important to release references to class types to avoid classloader leaks.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected CallbackRegistryImpl | |
| private Map | |
| public void |
| postCreates | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> postCreates | |
| postLoads | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> postLoads | |
| postRemoves | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> postRemoves | |
| postUpdates | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> postUpdates | |
| preCreates | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> preCreates | |
| preRemoves | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> preRemoves | |
| preUpdates | back to summary |
|---|---|
| private final Map<Class<?>, Callback[]> preUpdates | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| protected CallbackRegistryImpl build() | |
| determineAppropriateCallbackMap | back to summary |
|---|---|
| private Map | |
| registerCallbacks | back to summary |
|---|---|
| public void registerCallbacks(Class<?> entityClass, Callback[] callbacks) | |