Package org.jboss.classloading.spi

Examples of org.jboss.classloading.spi.Translator


/* 501 */       if (trace)
/* 502 */         log.trace("Class in blacklist, name=" + name);
/* 503 */       throw new ClassNotFoundException("Class Not Found(blacklist): " + name);
/*     */     }
/*     */
/* 506 */     Translator translator = this.domain.getTranslator();
/* 507 */     if (translator != null)
/*     */     {
/*     */       try
/*     */       {
/* 513 */         URL classUrl = getClassURL(name);
/* 514 */         byte[] rawcode = loadByteCode(classUrl);
/* 515 */         URL codeSourceUrl = getCodeSourceURL(name, classUrl);
/* 516 */         ProtectionDomain pd = getProtectionDomain(codeSourceUrl);
/* 517 */         byte[] bytecode = translator.transform(this, name, null, pd, rawcode);
/*     */
/* 519 */         if (bytecode == null) {
/* 520 */           bytecode = rawcode;
/*     */         }
/* 522 */         definePackage(name);
View Full Code Here

TOP

Related Classes of org.jboss.classloading.spi.Translator

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.