Package org.hibernate.service.spi

Examples of org.hibernate.service.spi.UnknownServiceException


    if ( service == null ) {
      service = initializer.initializeService( serviceRole );
      serviceBinding.setTarget( service );
    }
    if ( service == null ) {
      throw new UnknownServiceException( serviceRole );
    }
    return service;
  }
View Full Code Here


  @SuppressWarnings({ "unchecked" })
  private <T extends Service> T createService(Class<T> serviceRole) {
    ServiceInitiator<T> initiator = serviceInitiatorMap.get( serviceRole );
    if ( initiator == null ) {
      throw new UnknownServiceException( serviceRole );
    }
    try {
      T service = initiator.initiateService( configurationValues, servicesRegistry );
      // IMPL NOTE : the register call here is important to avoid potential stack overflow issues
      //    from recursive calls through #configureService
View Full Code Here

TOP

Related Classes of org.hibernate.service.spi.UnknownServiceException

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.