Package org.hibernate.service
Interface Service
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BatchBuilder,BatchLoaderFactory,BytecodeProvider,CacheImplementor,CfgXmlAccessService,ClassLoaderService,ConfigurationService,ConnectionProvider,CriteriaBuilderExtension,DialectFactory,DialectResolver,DialectSelector,EntityCopyObserverFactory,EventListenerRegistry,IdentifierGeneratorFactory,IntegratorService,JdbcEnvironment,JdbcServices,JdbcValuesMappingProducerProvider,JndiService,JtaPlatform,JtaPlatformResolver,ManagedBeanRegistry,MultiTenantConnectionProvider<T>,MutationExecutorService,NativeQueryInterpreter,ParameterMarkerStrategy,PersisterClassResolver,PersisterFactory,PropertyAccessStrategyResolver,ProxyFactoryFactory,RefCursorSupport,RegionFactory,RegionFactory,SchemaManagementTool,SessionFactoryBuilderService,SessionFactoryServiceRegistryFactory,SqlScriptCommandExtractor,SqmMultiTableMutationStrategyProvider,StatisticsImplementor,StrategySelector,TransactionCoordinatorBuilder
- All Known Implementing Classes:
AbstractDataSourceBasedMultiTenantConnectionProviderImpl,AbstractMultiTenantConnectionProvider,AbstractRegionFactory,BasicDialectResolver,DataSourceBasedMultiTenantConnectionProviderImpl,H2Dialect.OrdinalParameterMarkerStrategy,RegionFactoryTemplate,SqlStatementLogger
public interface Service extends Serializable
Marker interface for services. Services usually belong to aServiceRegistry.- Services may be contributed to a
SessionFactoryServiceRegistryusing anIntegrator, which is automatically discoved via the JavaServiceLoaderfacility. - Alternatively, a service may be directly contributed to a
SessionFactoryServiceRegistryBuildereither by registering an actual instance of theService, or by registering aServiceInitiator. - Other ways to contribute service implementations include
BootstrapServiceRegistryBuilderandStandardServiceRegistryBuilder.
All services must be
Serializable!