Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.aop
Class Domain

    java.lang.Object
      org.jboss.aop.AspectManager
          org.jboss.aop.Domain

All Implemented Interfaces:
  org.jboss.util.loading.Translator

Direct Known Subclasses:
  GeneratedAdvisorDomain, InstanceDomain

public class Domain
extends AspectManager

Comment

Version:
  $Revision: 1.12 $
Author:
  Bill Burke

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, debugClasses, declares, dynamicCFlows, dynamicStrategy, exclude, execution, get, hasConstructorInterception, hasFieldInterception, ignore, ignoreExpressions, include, interceptorFactories, interceptorStacks, interfaceIntroductions, manager, notificationHandler, optimize, perVMAspects, pointcutInfos, pointcuts, precedenceDefs, prune, registeredCLs, scopedClassLoaderDomains, scopedCLHelper, set, skipConstructorInterception, skipConvertableReference, skipFieldInterception, sortedPrecedenceDefEntries, subDomainsPerClass, subscribedDomainQueueRef, subscribedSubDomains, subscribedSubDomainsQueue, suppressReferenceErrors, suppressTransformationErrors, transformationStarted, typedefs, ucl2classes, verbose, within, withincode`

Constructor Summary
`Domain(AspectManager manager, boolean parentFirst)`

Method Summary
`void` | `addConstructionInterceptionMarker(String classname)`
`void` | `addFieldInterceptionMarker(String classname)`
`void` | `attachMetaData(ClassAdvisor advisor, Class clazz)`
`boolean` | `convertReference(String classname)`
`ClassMetaDataLoader` | `findClassMetaDataLoader(String group)` Every <class-metadata> tag corresponds to a ClassMetaDataLoader.
`AdviceStack` | `getAdviceStack(String name)` Find an interceptor stack referenced by name ( <stack> )
`List` | `getAnnotationIntroductions()`
`List` | `getAnnotationOverrides()`
`AspectDefinition` | `getAspectDefinition(String name)`
`LinkedHashMap` | `getBindings()`
`CFlowStack` | `getCFlowStack(String name)`
`Map` | `getCflowStacks()`
`Map` | `getClassMetaData()`
`Map` | `getClassMetaDataLoaders()`
`DomainDefinition` | `getContainer(String name)`
`DynamicAOPStrategy` | `getDynamicAOPStrategy()` Returns the dynamic aop strategy to be used.
`DynamicCFlow` | `getDynamicCFlow(String name)`
`Map` | `getDynamicCFlows()`
`ArrayList` | `getExclude()` Only set on a per vm basis
`ArrayList` | `getIgnore()` Only set on a per vm basis
`ClassExpression[]` | `getIgnoreExpressions()` Only set on a per vm basis
`ArrayList` | `getInclude()` Only set on a per vm basis
`InterceptorFactory` | `getInterceptorFactory(String name)` Find the interceptor factory that can be referenced by name.
`Map` | `getInterceptorStacks()`
`Map` | `getInterfaceIntroductions()`
`Object` | `getPerVMAspect(AspectDefinition def)`
`Object` | `getPerVMAspect(String def)`
`Map` | `getPerVMAspects()`
`Pointcut` | `getPointcut(String name)` Find a pointcut of with a given name
`LinkedHashMap` | `getPointcutInfos()`
`LinkedHashMap` | `getPointcuts()`
`LinkedHashMap` | `getPrecedenceDefs()`
`protected Map` | `getRegisteredCls()` Managed by the top-level aspect manager
`protected Map` | `getScopedClassLoaderDomains()` Managed by the top-level aspect manager
`protected Map` | `getSubDomainsPerClass()` Managed by the top-level aspect manager
`Typedef` | `getTypedef(String name)`
`Map` | `getTypedefs()`
`protected Map` | `getUcl2Classes()` Managed by the top-level aspect manager
`boolean` | `isCall()`
`boolean` | `isConstruction()`
`boolean` | `isExecution()`
`boolean` | `isGet()`
`boolean` | `isSet()`
`boolean` | `isWithin()`
`boolean` | `isWithincode()`
`void` | `removeBindings(ArrayList binds)`
`void` | `setDynamicAOPStrategy(DynamicAOPStrategy strategy)` Sets the dynamic aop strategy to be used.
`void` | `setInheritsBindings(boolean inheritBindings)`
`void` | `setInheritsDeclarations(boolean inheritsDeclarations)` Inherits interceptor, aspect, advice stack definitions
`boolean` | `shouldSkipConstruction(String classname)`
`boolean` | `shouldSkipFieldAccess(String classname)`
`void` | `skipConstruction(String classname)`
`void` | `skipFieldAccess(String classname)`
`void` | `skipReference(String classname)`
`protected void` | `updatePointcutStats(Pointcut pointcut)` THis method is used for performance reasons.
`protected void` | `updateStats(PointcutStats stats)`

Methods inherited from class org.jboss.aop.AspectManager
`addAdviceStack, addAdvisorToClassMetaDataBinding, addAnnotationIntroduction, addAnnotationOverride, addAspectDefinition, addBinding, addCFlowStack, addClassMetaData, addClassMetaDataLoader, addContainer, addDeclare, addDynamicCFlow, addInterceptorFactory, addInterfaceIntroduction, addPointcut, addPrecedence, addSubDomainPerClass, addTypedef, applyInterfaceIntroductions, applyInterfaceIntroductions, attachMetaData, clearUnregisteredClassLoaders, excludeClass, findAdvisor, findClassPool, forceResortPrecedenceDefs, getAdvisor, getAdvisor, getAdvisorIfAdvised, getAdvisors, getAnyAdvisorIfAdvised, getAspectDefinitions, getDeclares, getInterceptorFactories, getInterfaceIntroduction, getRegisteredClassPool, getRegisteredCLs, getSortedPrecedenceDefEntries, getTempClassAdvisor, getTempClassAdvisorIfNotExist, getTopLevelAspectManager, ignoreClass, includeClass, initialiseClassAdvisor, instance, instance, isAdvisorRegistered, isNonAdvisableClassName, registerClass, registerClassLoader, removeAnnotationIntroduction, removeAnnotationOverride, removeAspectDefinition, removeBinding, removeCFlowStack, removeClassMetaData, removeClassMetaDataLoader, removeContainer, removeDeclare, removeDynamicCFlow, removeInterceptorFactory, removeInterceptorStack, removeInterfaceIntroduction, removePointcut, removePrecedence, removeTypedef, setBindings, setExclude, setIgnore, setInclude, subscribeSubDomain, transform, translate, translate, unregisterClassLoader, unsubscribeSubDomain, updateAdvisorsForAddedAnnotationOverride, updateAdvisorsForAddedBinding, updateAdvisorsForAddedClassMetaData`

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`

### getPointcuts

    public LinkedHashMap getPointcuts()

  Overrides:
    `getPointcuts` in class `AspectManager`

### getPointcutInfos

    public LinkedHashMap getPointcutInfos()

  Overrides:
    `getPointcutInfos` 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`

### getTypedefs

    public Map getTypedefs()

  Overrides:
    `getTypedefs` in class `AspectManager`

### getInterceptorStacks

    public Map getInterceptorStacks()

  Overrides:
    `getInterceptorStacks` in class `AspectManager`

### getClassMetaDataLoaders

    public Map getClassMetaDataLoaders()

  Overrides:
    `getClassMetaDataLoaders` in class `AspectManager`

### getCflowStacks

    public Map getCflowStacks()

  Overrides:
    `getCflowStacks` in class `AspectManager`

### getDynamicCFlows

    public Map getDynamicCFlows()

  Overrides:
    `getDynamicCFlows` in class `AspectManager`

### getPerVMAspects

    public Map getPerVMAspects()

  Overrides:
    `getPerVMAspects` in class `AspectManager`

### getClassMetaData

    public Map getClassMetaData()

  Overrides:
    `getClassMetaData` 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`

### getContainer

    public DomainDefinition getContainer(String name)

  Overrides:
    `getContainer` in class `AspectManager`

### getPointcut

    public Pointcut getPointcut(String name)

  Find a pointcut of with a given name

  Overrides:
    `getPointcut` in class `AspectManager`

### attachMetaData

    public void attachMetaData(ClassAdvisor advisor,
                               Class clazz)

  Overrides:
    `attachMetaData` in class `AspectManager`

### getCFlowStack

    public CFlowStack getCFlowStack(String name)

  Overrides:
    `getCFlowStack` in class `AspectManager`

### getDynamicCFlow

    public DynamicCFlow getDynamicCFlow(String name)

  Overrides:
    `getDynamicCFlow` in class `AspectManager`

### getPrecedenceDefs

    public LinkedHashMap getPrecedenceDefs()

  Overrides:
    `getPrecedenceDefs` in class `AspectManager`

### findClassMetaDataLoader

    public ClassMetaDataLoader findClassMetaDataLoader(String group)

  Description copied from class: `AspectManager`
  Every <class-metadata> tag corresponds to a ClassMetaDataLoader. The ClassMetaDataLoader knows how to take arbitrary XML and apply it to SimpleMetaData.

  Given a group, return the loader for that group

  Overrides:
    `findClassMetaDataLoader` in class `AspectManager`

### getRegisteredCls

    protected Map getRegisteredCls()

  Managed by the top-level aspect manager

### getUcl2Classes

    protected Map getUcl2Classes()

  Managed by the top-level aspect manager

  Overrides:
    `getUcl2Classes` in class `AspectManager`

### getScopedClassLoaderDomains

    protected Map getScopedClassLoaderDomains()

  Managed by the top-level aspect manager

  Overrides:
    `getScopedClassLoaderDomains` in class `AspectManager`

### getSubDomainsPerClass

    protected Map getSubDomainsPerClass()

  Managed by the top-level aspect manager

  Overrides:
    `getSubDomainsPerClass` in class `AspectManager`

### addConstructionInterceptionMarker

    public void addConstructionInterceptionMarker(String classname)

  Overrides:
    `addConstructionInterceptionMarker` in class `AspectManager`

### addFieldInterceptionMarker

    public void addFieldInterceptionMarker(String classname)

  Overrides:
    `addFieldInterceptionMarker` in class `AspectManager`

### skipReference

    public void skipReference(String classname)

  Overrides:
    `skipReference` in class `AspectManager`

### shouldSkipConstruction

    public boolean shouldSkipConstruction(String classname)

  Overrides:
    `shouldSkipConstruction` in class `AspectManager`

### shouldSkipFieldAccess

    public boolean shouldSkipFieldAccess(String classname)

  Overrides:
    `shouldSkipFieldAccess` in class `AspectManager`

### skipConstruction

    public void skipConstruction(String classname)

  Overrides:
    `skipConstruction` in class `AspectManager`

### skipFieldAccess

    public void skipFieldAccess(String classname)

  Overrides:
    `skipFieldAccess` in class `AspectManager`

### convertReference

    public boolean convertReference(String classname)

  Overrides:
    `convertReference` in class `AspectManager`

### getExclude

    public ArrayList getExclude()

  Only set on a per vm basis

  Overrides:
    `getExclude` in class `AspectManager`

### getInclude

    public ArrayList getInclude()

  Only set on a per vm basis

  Overrides:
    `getInclude` in class `AspectManager`

### getIgnore

    public ArrayList getIgnore()

  Only set on a per vm basis

  Overrides:
    `getIgnore` in class `AspectManager`

### getIgnoreExpressions

    public ClassExpression[] getIgnoreExpressions()

  Only set on a per vm basis

  Overrides:
    `getIgnoreExpressions` in class `AspectManager`

### getDynamicAOPStrategy

    public DynamicAOPStrategy getDynamicAOPStrategy()

  Description copied from class: `AspectManager`
  Returns the dynamic aop strategy to be used.

  Overrides:
    `getDynamicAOPStrategy` in class `AspectManager`

### setDynamicAOPStrategy

    public void setDynamicAOPStrategy(DynamicAOPStrategy strategy)

  Description copied from class: `AspectManager`
  Sets the dynamic aop strategy to be used. Should be called only before any class is transformed.

  Overrides:
    `setDynamicAOPStrategy` in class `AspectManager`
  Parameters:
    `strategy` - the new dynamic aop strategy.

### updatePointcutStats

    protected void updatePointcutStats(Pointcut pointcut)

  Description copied from class: `AspectManager`
  THis method is used for performance reasons.

  Overrides:
    `updatePointcutStats` in class `AspectManager`
  Parameters:
    `pointcut` -

### updateStats

    protected void updateStats(PointcutStats stats)

  Overrides:
    `updateStats` in class `AspectManager`

### isExecution

    public boolean isExecution()

  Overrides:
    `isExecution` in class `AspectManager`

### isConstruction

    public boolean isConstruction()

  Overrides:
    `isConstruction` in class `AspectManager`

### isCall

    public boolean isCall()

  Overrides:
    `isCall` in class `AspectManager`

### isWithin

    public boolean isWithin()

  Overrides:
    `isWithin` in class `AspectManager`

### isWithincode

    public boolean isWithincode()

  Overrides:
    `isWithincode` in class `AspectManager`

### isGet

    public boolean isGet()

  Overrides:
    `isGet` in class `AspectManager`

### isSet

    public boolean isSet()

  Overrides:
    `isSet` in class `AspectManager`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 JBoss Inc. All Rights Reserved.