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,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,AtomikosJtaPlatform,BasicDialectResolver,BatchBuilderImpl,BitronixJtaPlatform,BorlandEnterpriseServerJtaPlatform,BytecodeProviderImpl,BytecodeProviderImpl,CfgXmlAccessServiceImpl,ClassLoaderServiceImpl,ConfigurationServiceImpl,DataSourceBasedMultiTenantConnectionProviderImpl,DatasourceConnectionProviderImpl,DefaultDialectSelector,DefaultSessionFactoryBuilderService,DialectFactoryImpl,DialectResolverSet,DisabledCaching,DriverManagerConnectionProviderImpl,EnabledCaching,EventListenerRegistryImpl,FallbackRefCursorSupport,H2Dialect.OrdinalParameterMarkerStrategy,HibernateSchemaManagementTool,IntegratorServiceImpl,JBossAppServerJtaPlatform,JBossStandAloneJtaPlatform,JdbcEnvironmentImpl,JdbcResourceLocalTransactionCoordinatorBuilderImpl,JdbcServicesImpl,JdbcValuesMappingProducerProviderStandard,JOnASJtaPlatform,JOTMJtaPlatform,JRun4JtaPlatform,JtaTransactionCoordinatorBuilderImpl,ManagedBeanRegistryImpl,MultiLineSqlScriptExtractor,NativeQueryInterpreterStandardImpl,NoCachingRegionFactory,NoJtaPlatform,OC4JJtaPlatform,OrionJtaPlatform,ParameterMarkerStrategyStandard,PersisterFactoryImpl,PropertyAccessStrategyResolverStandardImpl,ProxyFactoryFactoryImpl,RegionFactoryTemplate,ResinJtaPlatform,SapNetWeaverJtaPlatform,SessionFactoryServiceRegistryFactoryImpl,SingleLineSqlScriptExtractor,SqlStatementLogger,SqmMultiTableMutationStrategyProviderStandard,StandardBatchLoaderFactory,StandardDialectResolver,StandardJtaPlatformResolver,StandardMutationExecutorService,StandardPersisterClassResolver,StandardRefCursorSupport,StatisticsImpl,StrategySelectorImpl,SunOneJtaPlatform,UserSuppliedConnectionProviderImpl,WeblogicJtaPlatform,WebSphereExtendedJtaPlatform,WebSphereJtaPlatform,WebSphereLibertyJtaPlatform,WildFlyStandAloneJtaPlatform
Marker interface for services. Services usually belong to a
ServiceRegistry.
- 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!