Package org.hibernate.service.classloading.spi

Examples of org.hibernate.service.classloading.spi.ClassLoaderService.locateResourceStream()


   * @param indexer the jandex indexer
   * @param className the fully qualified name of the class
   */
  private void indexClass(Indexer indexer, String className) {
    ClassLoaderService classLoaderService = serviceRegistry.getService( ClassLoaderService.class );
    InputStream stream = classLoaderService.locateResourceStream( className );
    try {
      indexer.index( stream );
    }
    catch ( IOException e ) {
      throw new HibernateException( "Unable to open input stream for class " + className, e );
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.