Package org.jboss.system

Examples of org.jboss.system.NoAnnotationURLClassLoader


/* 292 */     ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
/*     */     Server server;
/*     */     try
/*     */     {
/* 297 */       URL[] urls = getBootClasspath();
/* 298 */       URLClassLoader classLoader = new NoAnnotationURLClassLoader(urls, parent);
/* 299 */       Thread.currentThread().setContextClassLoader(classLoader);
/*     */
/* 302 */       String typename = this.props.getProperty("jboss.server.type", "org.jboss.bootstrap.microcontainer.ServerImpl");
/* 303 */       server = createServer(typename, classLoader);
/*     */     }
View Full Code Here


/* 212 */     ClassLoader cl = getClass().getClassLoader();
/* 213 */     this.log.debug("Server loaded through: " + cl.getClass().getName());
/*     */
/* 216 */     if ((cl instanceof NoAnnotationURLClassLoader))
/*     */     {
/* 218 */       NoAnnotationURLClassLoader nacl = (NoAnnotationURLClassLoader)cl;
/* 219 */       URL[] bootURLs = nacl.getAllURLs();
/* 220 */       this.log.debug("Boot URLs:");
/* 221 */       for (int i = 0; i < bootURLs.length; i++)
/*     */       {
/* 223 */         this.log.debug("  " + bootURLs[i]);
/*     */       }
View Full Code Here

TOP

Related Classes of org.jboss.system.NoAnnotationURLClassLoader

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.