org.jboss.aop.classpool
Interface AOPClassLoaderScopingPolicy


public interface AOPClassLoaderScopingPolicy

AOPClassLoaderScopingPolicy.

This is a temporary abstraction to replace AOPScopedClassLoaderHelper until a better deployment/context resolution mechanism is used rather than using the classloader to decide things.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 Domain getDomain(ClassLoader classLoader, AspectManager parent)
          Get the domain for classloader
 Domain getTopLevelDomain(AspectManager parent)
          Get the top level domain
 

Method Detail

getDomain

Domain getDomain(ClassLoader classLoader,
                 AspectManager parent)
Get the domain for classloader

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

Domain getTopLevelDomain(AspectManager parent)
Get the top level domain

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


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