Examples of JtaPlatformResolver


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

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
TOP
Copyright © 2018 www.massapi.com. 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.