AvailableSettings#MERGE_ENTITY_COPY_OBSERVER and registers
the matching EntityCopyObserverFactory based on the configuration value.
For known implementations some optimisations are possible, such as reusing a singleton for the stateless
implementations. When a user plugs in a custom EntityCopyObserver we take a defensive approach.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final EntityCopyObserverFactoryInitiator | |
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Object | |
| public Class | getServiceInitiated()
Implements org. |
| public EntityCopyObserverFactory | initiateService(final Map<K, V>
The configuration values in effect configurationValues, final ServiceRegistryImplementor The service registry. Can be used to locate services needed to fulfill initiation. registry)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final EntityCopyObserverFactoryInitiator INSTANCE | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| EntityCopyObserverFactoryInitiator | back to summary |
|---|---|
| public EntityCopyObserverFactoryInitiator() | |
| getConfigurationValue | back to summary |
|---|---|
| private Object getConfigurationValue(final Map<K, V> configurationValues) | |
| getServiceInitiated | back to summary |
|---|---|
| public Class Implements org. Doc from org. Obtains the service role initiated by this initiator. Should be unique within a registry
| |
| initiateService | back to summary |
|---|---|
| public EntityCopyObserverFactory initiateService(final Map<K, V> configurationValues, final ServiceRegistryImplementor registry) Implements org. Doc from org. Initiates the managed service.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EntityCopyObserver |
| value | back to summary |
|---|---|
| private final Class<T> value | |
| EntityObserversFactoryFromClass | back to summary |
|---|---|
| public EntityObserversFactoryFromClass(Class<T> value) | |
| createEntityCopyObserver | back to summary |
|---|---|
| public EntityCopyObserver createEntityCopyObserver() Implements org.
| |