org.jboss.aop.asintegration
Interface JBossIntegration

All Superinterfaces:
ClassLoaderValidation
All Known Implementing Classes:
JBoss4Integration, JBoss5Integration

public interface JBossIntegration
extends ClassLoaderValidation

AOPIntegration.

This class is intended to identify all the integration points AOP is making with the JBoss appserver.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 void attachDeprecatedTranslator()
          Attach the depreacted translator
 AOPClassLoaderScopingPolicy createAOPClassLoaderScopingPolicy()
          Create the AOPClassLoaderScopingPolicy
 javassist.scopedpool.ScopedClassPoolFactory createScopedClassPoolFactory(File tmpDir)
          Create a scoped classpool factory TODO JBAOP-107 need to review whether ScopedClassPool should also be replaced with some other policy, e.g.
 void detachDeprecatedTranslator()
          Detach the deprecated translator
 
Methods inherited from interface org.jboss.aop.ClassLoaderValidation
isValidClassLoader
 

Method Detail

createAOPClassLoaderScopingPolicy

AOPClassLoaderScopingPolicy createAOPClassLoaderScopingPolicy()
Create the AOPClassLoaderScopingPolicy

Returns:
the policy

createScopedClassPoolFactory

javassist.scopedpool.ScopedClassPoolFactory createScopedClassPoolFactory(File tmpDir)
                                                                         throws Exception
Create a scoped classpool factory TODO JBAOP-107 need to review whether ScopedClassPool should also be replaced with some other policy, e.g. javassist ClassPath notion is closer to new classloader?

Parameters:
tmpDir - the temporary directory for classes
Returns:
the factory
Throws:
Exception - for any error

attachDeprecatedTranslator

void attachDeprecatedTranslator()
Attach the depreacted translator


detachDeprecatedTranslator

void detachDeprecatedTranslator()
Detach the deprecated translator



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