Package org.jboss.aop.domain

Examples of org.jboss.aop.domain.DomainInitializerCallback


/*     */
/*  49 */   private Map<Object, Domain> scopedClassLoaderDomains = new WeakHashMap();
/*     */
/*     */   public Domain initializeDomain(DomainInitializerCallbackHandler handler)
/*     */   {
/*  54 */     DomainInitializerCallback callback = new DomainInitializerCallback(ClassLoader.class);
/*  55 */     DomainInitializerCallback[] callbacks = { callback };
/*  56 */     handler.handle(callbacks);
/*     */
/*  58 */     ClassLoader loader = (ClassLoader)callback.getValue();
/*  59 */     Domain domain = getDomain(loader, AspectManager.getTopLevelAspectManager());
/*     */
/*  61 */     AspectManager.instance().registerClassLoader(loader);
/*     */
/*  63 */     return domain;
View Full Code Here

TOP

Related Classes of org.jboss.aop.domain.DomainInitializerCallback

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.