org.jboss.aop.asintegration.jboss4
Class JBoss4Integration

java.lang.Object
  extended by org.jboss.aop.asintegration.jboss4.JBoss4Integration
All Implemented Interfaces:
javassist.scopedpool.ScopedClassPoolFactory, JBossIntegration, ClassLoaderValidation

public class JBoss4Integration
extends Object
implements JBossIntegration, javassist.scopedpool.ScopedClassPoolFactory

JBoss4Integration.

This class and its associated classes are for the old JBoss4 integration with the LoaderRepository

Version:
$Revision: 1.1 $
Author:
Adrian Brock, Bill Burke, Kabir Khan

Constructor Summary
JBoss4Integration()
           
 
Method Summary
 void attachDeprecatedTranslator()
           
 javassist.scopedpool.ScopedClassPool create(ClassLoader cl, javassist.ClassPool src, javassist.scopedpool.ScopedClassPoolRepository repository)
           
 javassist.scopedpool.ScopedClassPool create(javassist.ClassPool src, javassist.scopedpool.ScopedClassPoolRepository repository)
           
 AOPClassLoaderScopingPolicy createAOPClassLoaderScopingPolicy()
           
 javassist.scopedpool.ScopedClassPoolFactory createScopedClassPoolFactory(File tmpDir)
           
 void detachDeprecatedTranslator()
           
 String getClassPoolFactoryClassName()
           
 boolean isValidClassLoader(ClassLoader loader)
           
 void setClassPoolFactoryName(String classname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBoss4Integration

public JBoss4Integration()
Method Detail

isValidClassLoader

public boolean isValidClassLoader(ClassLoader loader)
Specified by:
isValidClassLoader in interface ClassLoaderValidation

createAOPClassLoaderScopingPolicy

public AOPClassLoaderScopingPolicy createAOPClassLoaderScopingPolicy()
Specified by:
createAOPClassLoaderScopingPolicy in interface JBossIntegration

getClassPoolFactoryClassName

public String getClassPoolFactoryClassName()

setClassPoolFactoryName

public void setClassPoolFactoryName(String classname)

createScopedClassPoolFactory

public javassist.scopedpool.ScopedClassPoolFactory createScopedClassPoolFactory(File tmpDir)
                                                                         throws Exception
Specified by:
createScopedClassPoolFactory in interface JBossIntegration
Throws:
Exception

create

public javassist.scopedpool.ScopedClassPool create(ClassLoader cl,
                                                   javassist.ClassPool src,
                                                   javassist.scopedpool.ScopedClassPoolRepository repository)
Specified by:
create in interface javassist.scopedpool.ScopedClassPoolFactory

create

public javassist.scopedpool.ScopedClassPool create(javassist.ClassPool src,
                                                   javassist.scopedpool.ScopedClassPoolRepository repository)
Specified by:
create in interface javassist.scopedpool.ScopedClassPoolFactory

attachDeprecatedTranslator

public void attachDeprecatedTranslator()
Specified by:
attachDeprecatedTranslator in interface JBossIntegration

detachDeprecatedTranslator

public void detachDeprecatedTranslator()
Specified by:
detachDeprecatedTranslator in interface JBossIntegration


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