org.jboss.aop
Class InstanceDomain

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

public class InstanceDomain
extends Domain

comment

Author:
Bill Burke

Field Summary
protected  Advisor advisor
           
 
Fields inherited from class org.jboss.aop.Domain
hasOwnAnnotationIntroductions, hasOwnAnnotationOverrides, hasOwnBindings, hasOwnClassMetaData, hasOwnInterfaceIntroductions, hasOwnPointcuts, hasOwnPrecedenceDefs, hasOwnTypedefs, inheritsBindings, inheritsDeclarations, parent, parentFirst
 
Fields inherited from class org.jboss.aop.AspectManager
advisors, annotationIntroductions, annotationOverrides, arrayBindings, arrayReplacements, aspectDefinitions, bindingCollection, bindings, cflowStacks, classicOrder, classLoaderValidator, classMetaData, classMetaDataLoaders, containers, debugClasses, declares, dynamicCFlows, dynamicStrategy, exclude, ignore, ignoreExpressions, include, includeInvisibleAnnotations, interceptionMarkers, interceptorFactories, interceptorStacks, interfaceIntroductions, lifecycleManager, lock, maintainAdvisorMethodInterceptors, manager, notificationHandler, optimize, perVMAspects, precedenceDefs, sortedPrecedenceDefEntries, subDomainsByName, subDomainsPerClass, subscribedDomainQueueRef, subscribedSubDomains, subscribedSubDomainsQueue, suppressReferenceErrors, suppressTransformationErrors, typedefs, verbose, weavingStrategy
 
Constructor Summary
InstanceDomain(AspectManager manager, String name, boolean parentFirst)
           
 
Method Summary
 void addBinding(AdviceBinding binding)
          Add an interceptor pointcut with a given name
 void addClassMetaData(ClassMetaDataBinding meta)
           
 Advisor getAdvisor()
           
 boolean isAdvisorRegistered(Advisor advisor)
          internal to jboss aop.
 void setAdvisor(Advisor advisor)
           
 
Methods inherited from class org.jboss.aop.Domain
addAnnotationIntroduction, addAnnotationOverride, addInterfaceIntroduction, addPointcut, addPrecedence, addTypedef, attachMetaData, createBindingCollection, findClassMetaDataLoader, getAdviceStack, getAnnotationIntroductions, getAnnotationOverrides, getArrayReplacements, getAspectDefinition, getBindings, getCFlowStack, getCflowStacks, getClassMetaData, getClassMetaDataLoaders, getContainer, getDomainName, getDomainName, getDynamicAOPStrategy, getDynamicCFlow, getDynamicCFlows, getExclude, getIgnore, getIgnoreExpressions, getInclude, getIncludedInvisibleAnnotations, getInterceptionMarkers, getInterceptorFactory, getInterceptorStacks, getInterfaceIntroductions, getLifecycleBindings, getManagerFQN, getPerVMAspect, getPerVMAspect, getPerVMAspects, getPointcut, getPointcutInfos, getPointcuts, getPrecedenceDefs, getSubDomainsPerClass, getTypedef, getTypedefs, hasOwnAnnotationIntroductions, hasOwnAnnotationOverrides, hasOwnBindings, hasOwnClassMetaData, hasOwnDataWithEffectOnAdvices, hasOwnInterfaceIntroductions, hasOwnPointcuts, hasOwnPrecedenceDefs, hasOwnTypedefs, isValid, removeAnnotationIntroduction, removeAnnotationOverride, removeBinding, removeBindings, removeClassMetaData, removeInterfaceIntroduction, removePointcut, removePrecedence, removeTypedef, setDynamicAOPStrategy, setInheritsBindings, setInheritsDeclarations
 
Methods inherited from class org.jboss.aop.AspectManager
addAdviceStack, addAdvisorToClassMetaDataBinding, addArrayBinding, addArrayReplacement, addAspectDefinition, addCFlowStack, addClassMetaDataLoader, addContainer, addDeclare, addDynamicCFlow, addInterceptorFactory, addLifecycleBinding, addLifecycleDefinition, addSubDomainByName, addSubDomainPerClass, applyInterfaceIntroductions, applyInterfaceIntroductions, attachMetaData, clearUnregisteredClassLoaders, createPerVmAspect, excludeClass, findAdvisor, findClassPool, findManagerByName, forceResortPrecedenceDefs, getAdvisor, getAdvisor, getAdvisorIfAdvised, getAdvisors, getAnyAdvisorIfAdvised, getArrayBinding, getArrayReplacement, getAspectDefinitions, getBindingCollection, getClassLoaderScopingPolicy, getClassPoolFactory, getDeclares, getDynamicCFlow, getInterceptorFactories, getInterfaceIntroduction, getPrune, getRegisteredClassPool, getRegisteredCLs, getSortedPrecedenceDefEntries, getSubscribedSubDomains, getTempClassAdvisor, getTempClassAdvisorIfNotExist, getTopLevelAspectManager, hasTransformationStarted, ignoreClass, includeClass, initAnnotationIntroductionsMap, initAnnotationOverridesMap, initArrayBindingMap, initArrayReplacementMap, initAspectDefintitionsMap, initCflowStacksMap, initClassMetaDataLoadersMap, initClassMetaDataMap, initContainersMap, initDeclaresMap, initDynamicCflowsMap, initialiseClassAdvisor, initInerceptorStacksMap, initInterceptorFactoriesMap, initInterfaceIntroductionsMap, initPerVMAspectsMap, initPrecedenceDefsMap, initSubDomainsByNameMap, initSubscribedSubDomainsMap, initSubscribedSubDomainsQueueMap, initTypedefsMap, instance, instance, internalRemoveAspectDefintion, internalRemoveClassMetaData, isCall, isConstruction, isExecution, isGet, isNonAdvisableClassName, isSet, isWithin, isWithincode, registerClass, registerClassLoader, removeArrayBinding, removeArrayReplacement, removeAspectDefinition, removeCFlowStack, removeClassMetaDataLoader, removeContainer, removeDeclare, removeDynamicCFlow, removeInterceptorFactory, removeInterceptorStack, removeLifecycleBinding, removeLifecycleDefinition, setClassLoaderScopingPolicy, setClassPoolFactory, setExclude, setIgnore, setInclude, setIncludedInvisibleAnnotations, setPrune, 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

advisor

protected Advisor advisor
Constructor Detail

InstanceDomain

public InstanceDomain(AspectManager manager,
                      String name,
                      boolean parentFirst)
Method Detail

getAdvisor

public Advisor getAdvisor()

setAdvisor

public void setAdvisor(Advisor advisor)

addBinding

public void addBinding(AdviceBinding binding)
Description copied from class: AspectManager
Add an interceptor pointcut with a given name

Overrides:
addBinding in class Domain

addClassMetaData

public void addClassMetaData(ClassMetaDataBinding meta)
Overrides:
addClassMetaData in class Domain

isAdvisorRegistered

public boolean isAdvisorRegistered(Advisor advisor)
internal to jboss aop. Do not call

This is overriden so that AdviceBinding can clear an advisor that is created per-instance.

Overrides:
isAdvisorRegistered in class AspectManager
Parameters:
advisor -
Returns:


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