Package org.hibernate.engine.transaction.jta.platform.spi

Examples of org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformResolver


  private static final Logger log = Logger.getLogger( JtaPlatformResolverInitiator.class );

  @Override
  public JtaPlatformResolver initiateService(Map configurationValues, ServiceRegistryImplementor registry) {
    final Object setting = configurationValues.get( AvailableSettings.JTA_PLATFORM_RESOLVER );
    final JtaPlatformResolver resolver = registry.getService( StrategySelector.class )
        .resolveStrategy( JtaPlatformResolver.class, setting );
    if ( resolver == null ) {
      log.debugf( "No JtaPlatformResolver was specified, using default [%s]", StandardJtaPlatformResolver.class.getName() );
      return StandardJtaPlatformResolver.INSTANCE;
    }
View Full Code Here


  private static final Logger log = Logger.getLogger( JtaPlatformResolverInitiator.class );

  @Override
  public JtaPlatformResolver initiateService(Map configurationValues, ServiceRegistryImplementor registry) {
    final Object setting = configurationValues.get( AvailableSettings.JTA_PLATFORM_RESOLVER );
    final JtaPlatformResolver resolver = registry.getService( StrategySelector.class )
        .resolveStrategy( JtaPlatformResolver.class, setting );
    if ( resolver == null ) {
      log.debugf( "No JtaPlatformResolver was specified, using default [%s]", StandardJtaPlatformResolver.class.getName() );
      return StandardJtaPlatformResolver.INSTANCE;
    }
View Full Code Here

TOP

Related Classes of org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.