@Override public void configure(final IOCProcessingContext context, final InjectionContext injectionContext) { injectionContext.mapElementType(WiringElementType.DependentBean, Templated.class); }
@Override public void configure(final IOCProcessingContext context, final InjectionContext injectionContext) { injectionContext.mapElementType(WiringElementType.ProducerElement, Produces.class); }
@Override public void configure(final IOCProcessingContext context, final InjectionContext injectionContext) { injectionContext.mapElementType(WiringElementType.DependentBean, Templated.class); }
@Override public void configure(IOCProcessingContext context, InjectionContext injectionContext) { injectionContext.mapElementType(WiringElementType.DependentBean, Page.class); }
@Override public void configure(IOCProcessingContext context, InjectionContext injectionContext) { injectionContext.mapElementType(WiringElementType.DependentBean, Page.class); }
/** * @param injectionContext * an instance of the injection context */ private static void defaultConfigureProcessor(final InjectionContext injectionContext) { injectionContext.mapElementType(WiringElementType.PseudoScopedBean, Singleton.class); injectionContext.mapElementType(WiringElementType.NormalScopedBean, ApplicationScoped.class); injectionContext.mapElementType(WiringElementType.NormalScopedBean, SharedSingleton.class); injectionContext.mapElementType(WiringElementType.PseudoScopedBean, EntryPoint.class); injectionContext.mapElementType(WiringElementType.ProducerElement, IOCProducer.class); injectionContext.mapElementType(WiringElementType.DependentBean, Dependent.class); injectionContext.mapElementType(WiringElementType.Provider, IOCProvider.class); injectionContext.mapElementType(WiringElementType.InjectionPoint, Inject.class); injectionContext.mapElementType(WiringElementType.InjectionPoint, com.google.inject.Inject.class); injectionContext.mapElementType(WiringElementType.AlternativeBean, Alternative.class); }