Class EnversServiceInitiator
- java.lang.Object
-
- org.hibernate.envers.boot.internal.EnversServiceInitiator
-
- All Implemented Interfaces:
StandardServiceInitiator<EnversService>
,ServiceInitiator<EnversService>
public class EnversServiceInitiator extends Object implements StandardServiceInitiator<EnversService>
-
-
Field Summary
Fields Modifier and Type Field Description static EnversServiceInitiator
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description EnversServiceInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<EnversService>
getServiceInitiated()
Obtains the service role initiated by this initiator.EnversService
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final EnversServiceInitiator INSTANCE
Singleton access
-
-
Method Detail
-
initiateService
public EnversService initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in interfaceStandardServiceInitiator<EnversService>
- Parameters:
configurationValues
- The configuration values in effectregistry
- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
getServiceInitiated
public Class<EnversService> getServiceInitiated()
Description copied from interface:ServiceInitiator
Obtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiated
in interfaceServiceInitiator<EnversService>
- Returns:
- The service role.
-
-