Package org.hibernate.bytecode.internal
Class ProxyFactoryFactoryInitiator
java.lang.Object
org.hibernate.bytecode.internal.ProxyFactoryFactoryInitiator
- All Implemented Interfaces:
StandardServiceInitiator<ProxyFactoryFactory>,ServiceInitiator<ProxyFactoryFactory>
public final class ProxyFactoryFactoryInitiator
extends Object
implements StandardServiceInitiator<ProxyFactoryFactory>
Most commonly the
ProxyFactoryFactory will depend directly on the chosen BytecodeProvider,
however by registering them as two separate services we can allow to override either one
or both of them.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StandardServiceInitiator<ProxyFactoryFactory>Singleton access -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the service role initiated by this initiator.initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Initiates the managed service.
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
ProxyFactoryFactoryInitiator
public ProxyFactoryFactoryInitiator()
-
-
Method Details
-
initiateService
public ProxyFactoryFactory initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Description copied from interface:StandardServiceInitiatorInitiates the managed service.- Specified by:
initiateServicein interfaceStandardServiceInitiator<ProxyFactoryFactory>- 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
Description copied from interface:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiatedin interfaceServiceInitiator<ProxyFactoryFactory>- Returns:
- The service role.
-