org.jboss.aop.asintegration.jboss5
Class VFSClassLoaderScopingPolicy

java.lang.Object
  extended by org.jboss.aop.asintegration.jboss5.VFSClassLoaderScopingPolicy
All Implemented Interfaces:
AOPClassLoaderScopingPolicyWithRegistry, AOPClassLoaderScopingPolicy

public class VFSClassLoaderScopingPolicy
extends Object
implements AOPClassLoaderScopingPolicyWithRegistry

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Constructor Summary
VFSClassLoaderScopingPolicy()
           
 
Method Summary
 Domain getDomain(ClassLoader classLoader, AspectManager parent)
          Get the domain for classloader
 DomainRegistry getRegistry()
           
 Domain getTopLevelDomain(AspectManager parent)
          Get the top level domain
 void registerClassLoader(org.jboss.classloading.spi.dependency.Module module, ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFSClassLoaderScopingPolicy

public VFSClassLoaderScopingPolicy()
Method Detail

getRegistry

public DomainRegistry getRegistry()
Specified by:
getRegistry in interface AOPClassLoaderScopingPolicyWithRegistry

registerClassLoader

public void registerClassLoader(org.jboss.classloading.spi.dependency.Module module,
                                ClassLoader loader)
Specified by:
registerClassLoader in interface AOPClassLoaderScopingPolicyWithRegistry

getDomain

public Domain getDomain(ClassLoader classLoader,
                        AspectManager parent)
Description copied from interface: AOPClassLoaderScopingPolicy
Get the domain for classloader

Specified by:
getDomain in interface AOPClassLoaderScopingPolicy
Parameters:
classLoader - the classloader
parent - the parent (isn't this always the top level aspect manager?)
Returns:
any scoped domain or the null if not scoped

getTopLevelDomain

public Domain getTopLevelDomain(AspectManager parent)
Description copied from interface: AOPClassLoaderScopingPolicy
Get the top level domain

Specified by:
getTopLevelDomain in interface AOPClassLoaderScopingPolicy
Parameters:
parent - the parent (isn't this always the top level aspect manager?)
Returns:
any scoped domain or the null if not scoped


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.