Package org.hibernate.service

Examples of org.hibernate.service.Service


    serviceBindingMap.clear();
  }

  @Override
  public <R extends Service> void stopService(ServiceBinding<R> binding) {
    final Service service = binding.getService();
    if ( Stoppable.class.isInstance( service ) ) {
      try {
        ( (Stoppable) service ).stop();
      }
      catch ( Exception e ) {
        LOG.unableToStopService( service.getClass(), e.toString() );
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.hibernate.service.Service

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.