类 EntityCopyObserverFactoryInitiator
- java.lang.Object
-
- org.hibernate.event.internal.EntityCopyObserverFactoryInitiator
-
- 所有已实现的接口:
StandardServiceInitiator<EntityCopyObserverFactory>,ServiceInitiator<EntityCopyObserverFactory>
public class EntityCopyObserverFactoryInitiator extends Object implements StandardServiceInitiator<EntityCopyObserverFactory>
Looks for the configuration propertyAvailableSettings.MERGE_ENTITY_COPY_OBSERVERand registers the matchingEntityCopyObserverFactorybased 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
EntityCopyObserverwe take a defensive approach.
-
-
字段概要
字段 修饰符和类型 字段 说明 static EntityCopyObserverFactoryInitiatorINSTANCE
-
构造器概要
构造器 构造器 说明 EntityCopyObserverFactoryInitiator()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Class<EntityCopyObserverFactory>getServiceInitiated()Obtains the service role initiated by this initiator.EntityCopyObserverFactoryinitiateService(Map configurationValues, ServiceRegistryImplementor registry)Initiates the managed service.
-
-
-
字段详细资料
-
INSTANCE
public static final EntityCopyObserverFactoryInitiator INSTANCE
-
-
方法详细资料
-
initiateService
public EntityCopyObserverFactory initiateService(Map configurationValues, ServiceRegistryImplementor registry)
从接口复制的说明:StandardServiceInitiatorInitiates the managed service.- 指定者:
initiateService在接口中StandardServiceInitiator<EntityCopyObserverFactory>- 参数:
configurationValues- The configuration values in effectregistry- The service registry. Can be used to locate services needed to fulfill initiation.- 返回:
- The initiated service.
-
getServiceInitiated
public Class<EntityCopyObserverFactory> getServiceInitiated()
从接口复制的说明:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- 指定者:
getServiceInitiated在接口中ServiceInitiator<EntityCopyObserverFactory>- 返回:
- The service role.
-
-