org.jboss.aop
Class Domain

java.lang.Object
  extended by org.jboss.aop.AspectManager
      extended by org.jboss.aop.Domain
All Implemented Interfaces:
org.jboss.util.loading.Translator
Direct Known Subclasses:
InstanceDomain

public class Domain
extends AspectManager

Comment

Version:
$Revision: 1.2.4.2 $ =======, $Revision: 1.2.4.2 $ >>>>>>> 1.3
Author:
Bill Burke <<<<<<< Domain.java

Field Summary
protected  boolean inheritsBindings
           
protected  boolean inheritsDeclarations
           
protected  AspectManager parent
           
protected  boolean parentFirst
           
 
Fields inherited from class org.jboss.aop.AspectManager
advisors, annotationIntroductions, annotationOverrides, aspectDefinitions, bindings, call, cflowStacks, classLoaderValidator, classMetaData, classMetaDataLoaders, classpool, classPoolFactory, construction, containers, convertableReference, declares, dynamicCFlows, dynamicStrategy, exclude, execution, get, hasConstructorInterception, hasFieldInterception, ignore, ignoreExpressions, include, interceptorFactories, interceptorStacks, interfaceIntroductions, manager, notificationHandler, optimize, perVMAspects, pointcutInfos, pointcuts, precedenceDefs, prune, registeredCLs, set, skipConstructorInterception, skipConvertableReference, skipFieldInterception, sortedPrecedenceDefEntries, suppressReferenceErrors, suppressTransformationErrors, transformationStarted, typedefs, ucl2classes, verbose, within, withincode
 
Constructor Summary
Domain(AspectManager manager, boolean parentFirst)
           
 
Method Summary
 AdviceStack getAdviceStack(String name)
          Find an interceptor stack referenced by name ( <stack> )
 List getAnnotationIntroductions()
           
 List getAnnotationOverrides()
           
 AspectDefinition getAspectDefinition(String name)
           
 LinkedHashMap getBindings()
           
 InterceptorFactory getInterceptorFactory(String name)
          Find the interceptor factory that can be referenced by name.
 Map getInterfaceIntroductions()
           
 Object getPerVMAspect(AspectDefinition def)
           
 Object getPerVMAspect(String def)
           
 Typedef getTypedef(String name)
           
 void removeBindings(ArrayList binds)
           
 void setInheritsBindings(boolean inheritBindings)
           
 void setInheritsDeclarations(boolean inheritsDeclarations)
          Inherits interceptor, aspect, advice stack definitions
 
Methods inherited from class org.jboss.aop.AspectManager
addAdviceStack, addAnnotationIntroduction, addAnnotationOverride, addAspectDefinition, addBinding, addCFlowStack, addClassMetaData, addClassMetaDataLoader, addConstructionInterceptionMarker, addContainer, addDeclare, addDynamicCFlow, addFieldInterceptionMarker, addInterceptorFactory, addInterfaceIntroduction, addPointcut, addPrecedence, addTypedef, applyInterfaceIntroductions, applyInterfaceIntroductions, attachMetaData, attachMetaData, clearUnregisteredClassLoaders, convertReference, excludeClass, findAdvisor, findClassMetaDataLoader, findClassPool, getAdvisor, getAdvisor, getAdvisorIfAdvised, getAdvisors, getAspectDefinitions, getCFlowStack, getCflowStacks, getClassMetaData, getClassMetaDataLoaders, getContainer, getDeclares, getDynamicAOPStrategy, getDynamicCFlow, getDynamicCFlows, getExclude, getIgnore, getInclude, getInterceptorFactories, getInterceptorStacks, getInterfaceIntroduction, getPerVMAspects, getPointcut, getPointcutInfos, getPointcuts, getPrecedenceDefs, getRegisteredCLs, getSortedPrecedenceDefEntries, getTempClassAdvisor, getTempClassAdvisorIfNotExist, getTypedefs, ignoreClass, includeClass, instance, isAdvisorRegistered, isCall, isConstruction, isExecution, isGet, isNonAdvisableClassName, isSet, isWithin, isWithincode, registerClass, registerClassLoader, removeAnnotationIntroduction, removeAnnotationOverride, removeAspectDefinition, removeBinding, removeCFlowStack, removeClassMetaData, removeClassMetaDataLoader, removeContainer, removeDeclare, removeDynamicCFlow, removeInterceptorFactory, removeInterceptorStack, removeInterfaceIntroduction, removePointcut, removePrecedence, removeTypedef, setBindings, setDynamicAOPStrategy, setExclude, setIgnore, setInclude, shouldSkipConstruction, shouldSkipFieldAccess, skipConstruction, skipFieldAccess, skipReference, transform, translate, translate, unregisterClassLoader, updatePointcutStats, updateStats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected AspectManager parent

parentFirst

protected boolean parentFirst

inheritsDeclarations

protected boolean inheritsDeclarations

inheritsBindings

protected boolean inheritsBindings
Constructor Detail

Domain

public Domain(AspectManager manager,
              boolean parentFirst)
Method Detail

setInheritsDeclarations

public void setInheritsDeclarations(boolean inheritsDeclarations)
Inherits interceptor, aspect, advice stack definitions

Parameters:
inheritsDeclarations -

setInheritsBindings

public void setInheritsBindings(boolean inheritBindings)

removeBindings

public void removeBindings(ArrayList binds)
Overrides:
removeBindings in class AspectManager

getBindings

public LinkedHashMap getBindings()
Overrides:
getBindings in class AspectManager

getAnnotationIntroductions

public List getAnnotationIntroductions()
Overrides:
getAnnotationIntroductions in class AspectManager

getAnnotationOverrides

public List getAnnotationOverrides()
Overrides:
getAnnotationOverrides in class AspectManager

getInterfaceIntroductions

public Map getInterfaceIntroductions()
Overrides:
getInterfaceIntroductions in class AspectManager

getInterceptorFactory

public InterceptorFactory getInterceptorFactory(String name)
Description copied from class: AspectManager
Find the interceptor factory that can be referenced by name.

Overrides:
getInterceptorFactory in class AspectManager

getAdviceStack

public AdviceStack getAdviceStack(String name)
Description copied from class: AspectManager
Find an interceptor stack referenced by name ( <stack> )

Overrides:
getAdviceStack in class AspectManager

getPerVMAspect

public Object getPerVMAspect(AspectDefinition def)
Overrides:
getPerVMAspect in class AspectManager

getPerVMAspect

public Object getPerVMAspect(String def)
Overrides:
getPerVMAspect in class AspectManager

getAspectDefinition

public AspectDefinition getAspectDefinition(String name)
Overrides:
getAspectDefinition in class AspectManager

getTypedef

public Typedef getTypedef(String name)
Overrides:
getTypedef in class AspectManager


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.