Search in sources :

Example 1 with FastProcessAnnotatedTypeResolver

use of org.jboss.weld.bootstrap.FastProcessAnnotatedTypeResolver in project core by weld.

the class VerifyingExtension method init.

void init(@Observes BeforeBeanDiscovery event, BeanManager manager) throws Exception {
    ServiceRegistry services = BeanManagerProxy.unwrap(manager).getServices();
    this.classFileServices = services.get(ClassFileServices.class);
    this.resolver = new FastProcessAnnotatedTypeResolver(services.get(GlobalObserverNotifierService.class).getAllObserverMethods());
    this.notifier = BeanManagerProxy.unwrap(manager).getGlobalLenientObserverNotifier();
    this.discovery = services.get(RequiredAnnotationDiscovery.class);
    this.transformer = services.get(ClassTransformer.class);
}
Also used : RequiredAnnotationDiscovery(org.jboss.weld.bootstrap.events.RequiredAnnotationDiscovery) ClassFileServices(org.jboss.weld.resources.spi.ClassFileServices) FastProcessAnnotatedTypeResolver(org.jboss.weld.bootstrap.FastProcessAnnotatedTypeResolver) ClassTransformer(org.jboss.weld.resources.ClassTransformer) ServiceRegistry(org.jboss.weld.bootstrap.api.ServiceRegistry) GlobalObserverNotifierService(org.jboss.weld.event.GlobalObserverNotifierService)

Aggregations

FastProcessAnnotatedTypeResolver (org.jboss.weld.bootstrap.FastProcessAnnotatedTypeResolver)1 ServiceRegistry (org.jboss.weld.bootstrap.api.ServiceRegistry)1 RequiredAnnotationDiscovery (org.jboss.weld.bootstrap.events.RequiredAnnotationDiscovery)1 GlobalObserverNotifierService (org.jboss.weld.event.GlobalObserverNotifierService)1 ClassTransformer (org.jboss.weld.resources.ClassTransformer)1 ClassFileServices (org.jboss.weld.resources.spi.ClassFileServices)1