Top Fields Constructors Methods
org.hibernate.bytecode.internal

public final Class BytecodeProviderInitiator

extends Object
implements StandardServiceInitiator<BytecodeProvider>
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.service.spi.ServiceInitiator
Imports
java.util.Collection, .Iterator, .Map, .ServiceLoader, org.hibernate.Internal, org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.bytecode.spi.BytecodeProvider, org.hibernate.service.spi.ServiceRegistryImplementor

Field Summary

Modifier and TypeField and Description
public static final String
BYTECODE_PROVIDER_NAME_BYTEBUDDY

Deprecated for removal. Register a BytecodeProvider through Java services.
public static final String
BYTECODE_PROVIDER_NAME_DEFAULT

Deprecated for removal. Deprecated with no replacement
public static final String
BYTECODE_PROVIDER_NAME_NONE

Deprecated for removal. Register a BytecodeProvider through Java services.
public static final StandardServiceInitiator<BytecodeProvider>
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static BytecodeProvider
public static BytecodeProvider
public Class<BytecodeProvider>
getServiceInitiated()

Implements org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Obtains the service role initiated by this initiator.
public BytecodeProvider
initiateService(Map<String, Object>
The configuration values in effect
configurationValues
,
ServiceRegistryImplementor
The service registry. Can be used to locate services needed to fulfill initiation.
registry
)

Implements org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Initiates the managed service.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BYTECODE_PROVIDER_NAME_BYTEBUDDYback to summary
public static final String BYTECODE_PROVIDER_NAME_BYTEBUDDY

Deprecated

for removal.

Register a BytecodeProvider through Java services.

Annotations
@Deprecated
forRemoval:true
BYTECODE_PROVIDER_NAME_DEFAULTback to summary
public static final String BYTECODE_PROVIDER_NAME_DEFAULT

Deprecated

for removal.

Deprecated with no replacement

Annotations
@Deprecated
forRemoval:true
BYTECODE_PROVIDER_NAME_NONEback to summary
public static final String BYTECODE_PROVIDER_NAME_NONE

Deprecated

for removal.

Register a BytecodeProvider through Java services.

Annotations
@Deprecated
forRemoval:true
INSTANCEback to summary
public static final StandardServiceInitiator<BytecodeProvider> INSTANCE

Singleton access

Constructor Detail

BytecodeProviderInitiatorback to summary
public BytecodeProviderInitiator()

Method Detail

buildDefaultBytecodeProviderback to summary
public static BytecodeProvider buildDefaultBytecodeProvider()
Annotations
@Internal
getBytecodeProviderback to summary
public static BytecodeProvider getBytecodeProvider(Iterable<BytecodeProvider> bytecodeProviders)
Annotations
@Internal
getServiceInitiatedback to summary
public Class<BytecodeProvider> getServiceInitiated()

Implements org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Doc from org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Obtains the service role initiated by this initiator. Should be unique within a registry

Returns:Class<BytecodeProvider>

The service role.

Annotations
@Override
initiateServiceback to summary
public BytecodeProvider initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry)

Implements org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Doc from org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Initiates the managed service.

Parameters
configurationValues:Map<String, Object>

The configuration values in effect

registry:ServiceRegistryImplementor

The service registry. Can be used to locate services needed to fulfill initiation.

Returns:BytecodeProvider

The initiated service.

Annotations
@Override