appExceptionBridges.add(new ApplicationExceptionMetaDataBridge());
annotations.addComponentMetaDataLoaderFactory(new ApplicationExceptionComponentMetaDataLoaderFactory(appExceptionBridges));
annotations.addMetaDataBridge(new RunAsMetaDataBridge());
//Add a security domain bridge
annotations.addMetaDataBridge(new SecurityDomainMetaDataBridge());
// Ensure that an @Clustered annotation is visible to AOP if the XML says the bean is clustered.
annotations.addMetaDataBridge(new ClusteredMetaDataBridge());
initializeAdvisor(name, domain, beanClass, new CachingAnnotationRepository(annotations, classLoader));
}