private List<BaseInvoker> getInvokersForPointcut(Pointcut thePointcut) {
		List<BaseInvoker> invokers;

		synchronized (myRegistryMutex) {
			List<BaseInvoker> globalInvokers = myGlobalInvokers.get(thePointcut);
			List<BaseInvoker> anonymousInvokers = myAnonymousInvokers.get(thePointcut);
			List<BaseInvoker> threadLocalInvokers = null;
			if (myThreadlocalInvokersEnabled) {
				ListMultimap<Pointcut, BaseInvoker> pointcutToInvokers = myThreadlocalInvokers.get();
				if (pointcutToInvokers != null) {
					threadLocalInvokers = pointcutToInvokers.get(thePointcut);
				}
			}
			invokers = union(globalInvokers, anonymousInvokers, threadLocalInvokers);
		}

		return invokers;
	}
private List < BaseInvoker > getInvokersForPointcut ( Pointcut thePointcut ) { List < BaseInvoker > invokers ; synchronized ( myRegistryMutex ) { List < BaseInvoker > globalInvokers = myGlobalInvokers . get ( thePointcut ) ; List < BaseInvoker > anonymousInvokers = myAnonymousInvokers . get ( thePointcut ) ; List < BaseInvoker > threadLocalInvokers = null ; if ( myThreadlocalInvokersEnabled ) { ListMultimap < Pointcut , BaseInvoker > pointcutToInvokers = myThreadlocalInvokers . get ( ) ; if ( pointcutToInvokers != null ) { threadLocalInvokers = pointcutToInvokers . get ( thePointcut ) ; } } invokers = union ( globalInvokers , anonymousInvokers , threadLocalInvokers ) ; } return invokers ; }
Returns an ordered list of invokers for the given pointcut. Note that
a new and stable list is returned to.. do whatever you want with it.