org.jboss.aop.asintegration.core
Class AspectManagerServiceDelegate

java.lang.Object
  extended by org.jboss.aop.asintegration.core.AspectManagerServiceDelegate
Direct Known Subclasses:
AspectManagerServiceDelegateJDK5, AspectManagerServiceDelegateJRockit

public abstract class AspectManagerServiceDelegate
extends Object

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Field Summary
protected  boolean enableLoadtimeWeaving
          True if the noveau translator is enabled
protected  boolean enableTransformer
          True if the deprecated translator is enabled
protected  String exclude
           
protected  String ignore
           
protected  String include
           
protected  String includedInvisibleAnnotations
           
protected  boolean suppressReferenceErrors
           
protected  boolean suppressTransformationErrors
           
protected  File tmpClassesDir
           
 
Constructor Summary
AspectManagerServiceDelegate()
           
 
Method Summary
 String aspectDefinitions()
          The temporary directory to which dyn class files are written
protected  void attachDeprecatedTranslator()
           
protected  void attachTranslator()
           
 String bindings()
           
 void create()
           
 ClassLoaderValidation createClassLoaderValidation()
           
 javassist.scopedpool.ScopedClassPoolFactory createFactory()
           
 void deployBaseXml()
           
 void destroy()
           
protected  void detachDeprecatedTranslator()
           
protected  void detachTranslator()
           
 AspectManager getAspectManager()
           
 boolean getEnableLoadtimeWeaving()
           
 boolean getEnableTransformer()
          The temporary directory to which dyn class files are written
 String getExclude()
           
 String getIgnore()
           
 String getInclude()
           
 String getIncludedInvisibleAnnotations()
           
 String getInstrumentor()
           
 JBossIntegration getJBossIntegration()
          Get the integration
 org.jboss.logging.Logger getLog()
           
 boolean getOptimized()
          Use aop optimizations.
 boolean getPrune()
           
 boolean getSuppressReferenceErrors()
           
 boolean getSuppressTransformationErrors()
           
 File getTmpClassesDir()
          The temporary directory to which dyn class files are written
 boolean getUseBaseXml()
          Gets whether the base aspects are being deployed
 boolean getVerbose()
          Set the verbosity of aop logging.
protected  JBossIntegration initIntegration()
          Initialize the integration if not alreday done so
 String interceptorFactories()
          The temporary directory to which dyn class files are written
 String introductions()
           
 String pointcuts()
           
 String registeredClassLoaders()
           
 void setAspectManager(AspectManager manager)
           
 void setAspectManagerMaintainAdvisorInterceptors(boolean maintain)
          This needs setting to true in AS 4
 void setBaseXml(String baseXml)
           
 void setBootstrapXml(String bootstrapXml)
           
 void setEnableLoadtimeWeaving(boolean enableTransformer)
           
 void setEnableTransformer(boolean enableTransformer)
           
 void setExclude(String exclude)
           
 void setIgnore(String ignore)
           
 void setInclude(String include)
           
 void setIncludedInvisibleAnnotations(String ia)
           
 void setInstrumentor(String instrumentor)
           
 void setJBossIntegration(JBossIntegration integration)
          Set the integration
 void setOptimized(boolean verbose)
          Use aop optimizations.
 void setPrune(boolean prune)
           
 void setRegisterHappensAfterStart(boolean registerHappensAfterStart)
           
 void setSuppressReferenceErrors(boolean suppressReferenceErrors)
           
 void setSuppressTransformationErrors(boolean suppressTransformationErrors)
           
 void setTmpClassesDir(File tmpClassesDir)
          The temporary directory to which dyn class files are written
 void setUseBaseXml(boolean useBaseXml)
          Set whether the base aspects should be deployed.
 void setVerbose(boolean verbose)
          Set the verbosity of aop logging.
 String stacks()
           
 void start()
           
 void stop()
           
 void undeployBaseXml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tmpClassesDir

protected File tmpClassesDir

enableTransformer

protected boolean enableTransformer
True if the deprecated translator is enabled


enableLoadtimeWeaving

protected boolean enableLoadtimeWeaving
True if the noveau translator is enabled


suppressTransformationErrors

protected boolean suppressTransformationErrors

suppressReferenceErrors

protected boolean suppressReferenceErrors

exclude

protected String exclude

include

protected String include

ignore

protected String ignore

includedInvisibleAnnotations

protected String includedInvisibleAnnotations
Constructor Detail

AspectManagerServiceDelegate

public AspectManagerServiceDelegate()
Method Detail

setBootstrapXml

public void setBootstrapXml(String bootstrapXml)

setBaseXml

public void setBaseXml(String baseXml)

setRegisterHappensAfterStart

public void setRegisterHappensAfterStart(boolean registerHappensAfterStart)

setAspectManagerMaintainAdvisorInterceptors

public void setAspectManagerMaintainAdvisorInterceptors(boolean maintain)
This needs setting to true in AS 4


setAspectManager

public void setAspectManager(AspectManager manager)

getAspectManager

public AspectManager getAspectManager()

getJBossIntegration

public JBossIntegration getJBossIntegration()
Get the integration

Returns:
the integration

setJBossIntegration

public void setJBossIntegration(JBossIntegration integration)
Set the integration

Parameters:
integration - the integration

createFactory

public javassist.scopedpool.ScopedClassPoolFactory createFactory()
                                                          throws Exception
Throws:
Exception

createClassLoaderValidation

public ClassLoaderValidation createClassLoaderValidation()

initIntegration

protected JBossIntegration initIntegration()
Initialize the integration if not alreday done so

Returns:
the integration

create

public void create()
            throws Exception
Throws:
Exception

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()

destroy

public void destroy()

deployBaseXml

public void deployBaseXml()

undeployBaseXml

public void undeployBaseXml()

attachDeprecatedTranslator

protected void attachDeprecatedTranslator()

detachDeprecatedTranslator

protected void detachDeprecatedTranslator()

attachTranslator

protected void attachTranslator()

detachTranslator

protected void detachTranslator()

getPrune

public boolean getPrune()

setPrune

public void setPrune(boolean prune)

getExclude

public String getExclude()

setExclude

public void setExclude(String exclude)

getInclude

public String getInclude()

setInclude

public void setInclude(String include)

getIgnore

public String getIgnore()

setIgnore

public void setIgnore(String ignore)

getIncludedInvisibleAnnotations

public String getIncludedInvisibleAnnotations()

setIncludedInvisibleAnnotations

public void setIncludedInvisibleAnnotations(String ia)

getTmpClassesDir

public File getTmpClassesDir()
The temporary directory to which dyn class files are written


setTmpClassesDir

public void setTmpClassesDir(File tmpClassesDir)
The temporary directory to which dyn class files are written


getVerbose

public boolean getVerbose()
Set the verbosity of aop logging. It doesn't use log4j


setVerbose

public void setVerbose(boolean verbose)
Set the verbosity of aop logging. It doesn't use log4j


getOptimized

public boolean getOptimized()
Use aop optimizations. Optional just in case there is a bug


setOptimized

public void setOptimized(boolean verbose)
Use aop optimizations. Optional just in case there is a bug


getUseBaseXml

public boolean getUseBaseXml()
Gets whether the base aspects are being deployed


setUseBaseXml

public void setUseBaseXml(boolean useBaseXml)
Set whether the base aspects should be deployed. If called against a running server, will deploy/undeploy the base aspects depending on the value of the parameter


getSuppressTransformationErrors

public boolean getSuppressTransformationErrors()

setSuppressTransformationErrors

public void setSuppressTransformationErrors(boolean suppressTransformationErrors)

getSuppressReferenceErrors

public boolean getSuppressReferenceErrors()

setSuppressReferenceErrors

public void setSuppressReferenceErrors(boolean suppressReferenceErrors)

getEnableTransformer

public boolean getEnableTransformer()
The temporary directory to which dyn class files are written


interceptorFactories

public String interceptorFactories()
The temporary directory to which dyn class files are written


aspectDefinitions

public String aspectDefinitions()
The temporary directory to which dyn class files are written


introductions

public String introductions()

stacks

public String stacks()

bindings

public String bindings()

pointcuts

public String pointcuts()

registeredClassLoaders

public String registeredClassLoaders()

setEnableTransformer

public void setEnableTransformer(boolean enableTransformer)

getEnableLoadtimeWeaving

public boolean getEnableLoadtimeWeaving()

setEnableLoadtimeWeaving

public void setEnableLoadtimeWeaving(boolean enableTransformer)

getInstrumentor

public String getInstrumentor()

setInstrumentor

public void setInstrumentor(String instrumentor)

getLog

public org.jboss.logging.Logger getLog()


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