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
,EnversService
,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
,AbstractJtaPlatform
,AbstractMultiTenantConnectionProvider
,AbstractRegionFactory
,AggregatedDialectSelector
,AgroalConnectionProvider
,AtomikosJtaPlatform
,BasicDialectResolver
,BasicTestingJdbcServiceImpl
,BatchBuilderImpl
,BitronixJtaPlatform
,BorlandEnterpriseServerJtaPlatform
,BytecodeProviderImpl
,BytecodeProviderImpl
,C3P0ConnectionProvider
,CachingRegionFactory
,CfgXmlAccessServiceImpl
,ClassLoaderServiceImpl
,ClassLoaderServiceTestingImpl
,ConfigurationServiceImpl
,ConnectionProviderDelegate
,DataSourceBasedMultiTenantConnectionProviderImpl
,DatasourceConnectionProviderImpl
,DefaultDialectSelector
,DefaultSessionFactoryBuilderService
,DialectFactoryImpl
,DialectFactoryTestingImpl
,DialectResolverSet
,DisabledCaching
,DriverManagerConnectionProviderImpl
,EnabledCaching
,EnversServiceImpl
,EventListenerRegistryImpl
,ExtraJavaServicesClassLoaderService
,FallbackRefCursorSupport
,GeolatteSpatialCriteriaExtension
,H2Dialect.OrdinalParameterMarkerStrategy
,HibernateSchemaManagementTool
,HikariCPConnectionProvider
,IntegratorServiceImpl
,JBossAppServerJtaPlatform
,JBossStandAloneJtaPlatform
,JCacheRegionFactory
,JdbcEnvironmentImpl
,JdbcResourceLocalTransactionCoordinatorBuilderImpl
,JdbcServicesImpl
,JdbcValuesMappingProducerProviderStandard
,JOnASJtaPlatform
,JOTMJtaPlatform
,JRun4JtaPlatform
,JtaAwareConnectionProviderImpl
,JtaTransactionCoordinatorBuilderImpl
,JTSSpatialCriteriaExtension
,ManagedBeanRegistryImpl
,MultiLineSqlScriptExtractor
,NativeQueryInterpreterStandardImpl
,NoCachingRegionFactory
,NoJtaPlatform
,OC4JJtaPlatform
,OrionJtaPlatform
,ParameterMarkerStrategyStandard
,PersisterFactoryImpl
,PreparedStatementSpyConnectionProvider
,PropertyAccessStrategyResolverStandardImpl
,ProxoolConnectionProvider
,ProxyFactoryFactoryImpl
,RegionFactoryTemplate
,ResinJtaPlatform
,SapNetWeaverJtaPlatform
,SessionFactoryServiceRegistryFactoryImpl
,SharedDriverManagerConnectionProviderImpl
,SingleLineSqlScriptExtractor
,SpatialService
,SQLServerSnapshotIsolationConnectionProvider
,SqlStatementLogger
,SqmMultiTableMutationStrategyProviderStandard
,StandardBatchLoaderFactory
,StandardDialectResolver
,StandardIdentifierGeneratorFactory
,StandardJtaPlatformResolver
,StandardMutationExecutorService
,StandardPersisterClassResolver
,StandardRefCursorSupport
,StatisticsImpl
,StrategySelectorImpl
,SunOneJtaPlatform
,TestingJtaPlatformImpl
,TestingJtaTransactionCoordinatorBuilder
,TimeZoneConnectionProvider
,UserSuppliedConnectionProviderImpl
,ViburDBCPConnectionProvider
,WeblogicJtaPlatform
,WebSphereExtendedJtaPlatform
,WebSphereJtaPlatform
,WebSphereLibertyJtaPlatform
,WildFlyStandAloneJtaPlatform
public interface Service extends Serializable
Marker interface for services. Services usually belong to aServiceRegistry
.- Services may be contributed to a
SessionFactoryServiceRegistry
using anIntegrator
, which is automatically discoved via the JavaServiceLoader
facility. - Alternatively, a service may be directly contributed to a
SessionFactoryServiceRegistryBuilder
either by registering an actual instance of theService
, or by registering aServiceInitiator
. - Other ways to contribute service implementations include
BootstrapServiceRegistryBuilder
andStandardServiceRegistryBuilder
.
All services must be
Serializable
!