org.jboss.aop.deployment
Class AbstractAspectManagerService

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.aop.deployment.AbstractAspectManagerService
All Implemented Interfaces:
MBeanRegistration, NotificationBroadcaster, NotificationEmitter, AspectNotificationHandler, AbstractAspectManagerServiceMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
AspectManagerService, AspectManagerServiceJDK5

public class AbstractAspectManagerService
extends org.jboss.system.ServiceMBeanSupport
implements AbstractAspectManagerServiceMBean, AspectNotificationHandler

Version:
$Revision: 70855 $
Author:
Bill Burke, adrian@jboss.org

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
AbstractAspectManagerService()
          This constructor shouuld only get called when used in JBoss 4.x.x, not in JBoss 5.
AbstractAspectManagerService(AspectManagerServiceDelegate delegate)
          This constructor should only get called when used in JBoss 5 by JBossAspectLibrary.
 
Method Summary
 String aspectDefinitions()
          The temporary directory to which dyn class files are written
 void attachClass(String classname)
           
 String bindings()
          The temporary directory to which dyn class files are written
protected  ClassLoaderValidation createClassLoaderValidation()
           
protected  AspectManagerServiceDelegate createDelegate()
           
protected  javassist.scopedpool.ScopedClassPoolFactory createFactory()
           
protected  void createService()
           
protected  void destroyService()
           
 boolean getEnableLoadtimeWeaving()
          The temporary directory to which dyn class files are written
 boolean getEnableTransformer()
          The temporary directory to which dyn class files are written
 String getExclude()
           
 String getIgnore()
           
 String getInclude()
           
 String getIncludedInvisibleAnnotations()
           
 String getInstrumentor()
           
 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()
          Whether or not tu use base-aop.xml
 boolean getVerbose()
          Set the verbosity of aop logging.
 String interceptorFactories()
          The temporary directory to which dyn class files are written
 String introductions()
           
 String pointcuts()
           
 String registeredClassLoaders()
          The temporary directory to which dyn class files are written
 void setEnableLoadtimeWeaving(boolean enableTransformer)
           
 void setEnableTransformer(boolean enableTransformer)
          The temporary directory to which dyn class files are written
 void setExclude(String exclude)
           
 void setIgnore(String ignore)
           
 void setInclude(String include)
           
 void setIncludedInvisibleAnnotations(String ia)
           
 void setInstrumentor(String instrumentor)
           
 void setJBossIntegrationWrapper(JBossIntegrationWrapperMBean integration)
          Sets the MBean containing the JBossIntegration implementation
 void setOptimized(boolean verbose)
          Use aop optimizations.
 void setPrune(boolean prune)
           
 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)
          Whether or not tu use base-aop.xml
 void setVerbose(boolean verbose)
          Set the verbosity of aop logging.
 String stacks()
          The temporary directory to which dyn class files are written
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

AbstractAspectManagerService

public AbstractAspectManagerService()
This constructor shouuld only get called when used in JBoss 4.x.x, not in JBoss 5.


AbstractAspectManagerService

public AbstractAspectManagerService(AspectManagerServiceDelegate delegate)
This constructor should only get called when used in JBoss 5 by JBossAspectLibrary.

Method Detail

createDelegate

protected AspectManagerServiceDelegate createDelegate()

setJBossIntegrationWrapper

public void setJBossIntegrationWrapper(JBossIntegrationWrapperMBean integration)
Description copied from interface: AbstractAspectManagerServiceMBean
Sets the MBean containing the JBossIntegration implementation

Specified by:
setJBossIntegrationWrapper in interface AbstractAspectManagerServiceMBean

createFactory

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

createClassLoaderValidation

protected ClassLoaderValidation createClassLoaderValidation()

createService

protected void createService()
                      throws Exception
Overrides:
createService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

destroyService

protected void destroyService()
                       throws Exception
Overrides:
destroyService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

startService

protected void startService()
                     throws Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

attachClass

public void attachClass(String classname)
Specified by:
attachClass in interface AspectNotificationHandler

getPrune

public boolean getPrune()
Specified by:
getPrune in interface AbstractAspectManagerServiceMBean

setPrune

public void setPrune(boolean prune)
Specified by:
setPrune in interface AbstractAspectManagerServiceMBean

getExclude

public String getExclude()
Specified by:
getExclude in interface AbstractAspectManagerServiceMBean

setExclude

public void setExclude(String exclude)
Specified by:
setExclude in interface AbstractAspectManagerServiceMBean

getInclude

public String getInclude()
Specified by:
getInclude in interface AbstractAspectManagerServiceMBean

setInclude

public void setInclude(String include)
Specified by:
setInclude in interface AbstractAspectManagerServiceMBean

getIgnore

public String getIgnore()
Specified by:
getIgnore in interface AbstractAspectManagerServiceMBean

setIgnore

public void setIgnore(String ignore)
Specified by:
setIgnore in interface AbstractAspectManagerServiceMBean

getIncludedInvisibleAnnotations

public String getIncludedInvisibleAnnotations()
Specified by:
getIncludedInvisibleAnnotations in interface AbstractAspectManagerServiceMBean

setIncludedInvisibleAnnotations

public void setIncludedInvisibleAnnotations(String ia)
Specified by:
setIncludedInvisibleAnnotations in interface AbstractAspectManagerServiceMBean

getTmpClassesDir

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

Specified by:
getTmpClassesDir in interface AbstractAspectManagerServiceMBean

setTmpClassesDir

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

Specified by:
setTmpClassesDir in interface AbstractAspectManagerServiceMBean

getVerbose

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

Specified by:
getVerbose in interface AbstractAspectManagerServiceMBean

setVerbose

public void setVerbose(boolean verbose)
Set the verbosity of aop logging.

Specified by:
setVerbose in interface AbstractAspectManagerServiceMBean

getOptimized

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

Specified by:
getOptimized in interface AbstractAspectManagerServiceMBean

setOptimized

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

Specified by:
setOptimized in interface AbstractAspectManagerServiceMBean

getSuppressTransformationErrors

public boolean getSuppressTransformationErrors()
Specified by:
getSuppressTransformationErrors in interface AbstractAspectManagerServiceMBean

setSuppressTransformationErrors

public void setSuppressTransformationErrors(boolean suppressTransformationErrors)
Specified by:
setSuppressTransformationErrors in interface AbstractAspectManagerServiceMBean

getSuppressReferenceErrors

public boolean getSuppressReferenceErrors()

setSuppressReferenceErrors

public void setSuppressReferenceErrors(boolean suppressReferenceErrors)

getEnableTransformer

public boolean getEnableTransformer()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
getEnableTransformer in interface AbstractAspectManagerServiceMBean

interceptorFactories

public String interceptorFactories()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
interceptorFactories in interface AbstractAspectManagerServiceMBean

aspectDefinitions

public String aspectDefinitions()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
aspectDefinitions in interface AbstractAspectManagerServiceMBean

introductions

public String introductions()
Specified by:
introductions in interface AbstractAspectManagerServiceMBean

stacks

public String stacks()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
stacks in interface AbstractAspectManagerServiceMBean

bindings

public String bindings()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
bindings in interface AbstractAspectManagerServiceMBean

pointcuts

public String pointcuts()
Specified by:
pointcuts in interface AbstractAspectManagerServiceMBean

registeredClassLoaders

public String registeredClassLoaders()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
registeredClassLoaders in interface AbstractAspectManagerServiceMBean

setEnableTransformer

public void setEnableTransformer(boolean enableTransformer)
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
setEnableTransformer in interface AbstractAspectManagerServiceMBean

getEnableLoadtimeWeaving

public boolean getEnableLoadtimeWeaving()
Description copied from interface: AbstractAspectManagerServiceMBean
The temporary directory to which dyn class files are written

Specified by:
getEnableLoadtimeWeaving in interface AbstractAspectManagerServiceMBean

setEnableLoadtimeWeaving

public void setEnableLoadtimeWeaving(boolean enableTransformer)
Specified by:
setEnableLoadtimeWeaving in interface AbstractAspectManagerServiceMBean

getInstrumentor

public String getInstrumentor()
Specified by:
getInstrumentor in interface AbstractAspectManagerServiceMBean

setInstrumentor

public void setInstrumentor(String instrumentor)
Specified by:
setInstrumentor in interface AbstractAspectManagerServiceMBean

getUseBaseXml

public boolean getUseBaseXml()
Description copied from interface: AbstractAspectManagerServiceMBean
Whether or not tu use base-aop.xml

Specified by:
getUseBaseXml in interface AbstractAspectManagerServiceMBean

setUseBaseXml

public void setUseBaseXml(boolean useBaseXml)
Description copied from interface: AbstractAspectManagerServiceMBean
Whether or not tu use base-aop.xml

Specified by:
setUseBaseXml in interface AbstractAspectManagerServiceMBean


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