@Override public synchronized AnnotatedTypeConfigurator<T> configure() { if (annotatedType != null) { BeanManagerLogger.LOG.unableToConfigureInjectionTargetFactory(annotatedType); throw new IllegalStateException(); } if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(originalAnnotatedType); } return configurator; }
@Override public synchronized AnnotatedTypeConfigurator<T> configure() { if (annotatedType != null) { BeanManagerLogger.LOG.unableToConfigureInjectionTargetFactory(annotatedType); throw new IllegalStateException(); } if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(originalAnnotatedType); } return configurator; }
@Override public synchronized AnnotatedTypeConfigurator<T> configure() { if (annotatedType != null) { BeanManagerLogger.LOG.unableToConfigureInjectionTargetFactory(annotatedType); throw new IllegalStateException(); } if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(originalAnnotatedType); } return configurator; }
@Override public AnnotatedTypeConfigurator<T> configure() { InterceptorLogger.LOG.interceptionFactoryConfigureInvoked(annotatedType.getJavaClass().getSimpleName()); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } return configurator; }
@Override public synchronized AnnotatedTypeConfigurator<T> configure() { if (annotatedType != null) { BeanManagerLogger.LOG.unableToConfigureInjectionTargetFactory(annotatedType); throw new IllegalStateException(); } if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(originalAnnotatedType); } return configurator; }
@Override public AnnotatedTypeConfigurator<T> configure() { InterceptorLogger.LOG.interceptionFactoryConfigureInvoked(annotatedType.getJavaClass().getSimpleName()); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } return configurator; }
@Override public <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, String id) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(type)); additionalAnnotatedTypes.add(new AnnotatedTypeRegistration<T>(configurator, id)); return configurator; }
@Override public <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, String id) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(type)); additionalAnnotatedTypes.add(new AnnotatedTypeRegistration<T>(configurator, id)); return configurator; }
@Override public <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, String id) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(type)); additionalAnnotatedTypes.add(new AnnotatedTypeRegistration<T>(configurator, id)); return configurator; }
@Override public <T extends Annotation> AnnotatedTypeConfigurator<T> configureInterceptorBinding(Class<T> bindingType) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(bindingType)); additionalInterceptorBindings.add(configurator); BootstrapLogger.LOG.configureInterceptorBindingCalled(getReceiver(), bindingType); return configurator; }
@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public AnnotatedTypeConfigurator<X> configureAnnotatedType() { if (annotatedTypeSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessAnnotatedType.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new AnnotatedTypeConfiguratorImpl<>(annotatedType); } BootstrapLogger.LOG.configureAnnotatedTypeCalled(getReceiver(), annotatedType); return configurator; }
@Override public <T extends Annotation> AnnotatedTypeConfigurator<T> configureInterceptorBinding(Class<T> bindingType) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(bindingType)); additionalInterceptorBindings.add(configurator); BootstrapLogger.LOG.configureInterceptorBindingCalled(getReceiver(), bindingType); return configurator; }
@Override public <T extends Annotation> AnnotatedTypeConfigurator<T> configureInterceptorBinding(Class<T> bindingType) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(bindingType)); additionalInterceptorBindings.add(configurator); BootstrapLogger.LOG.configureInterceptorBindingCalled(getReceiver(), bindingType); return configurator; }
@Override public <T extends Annotation> AnnotatedTypeConfigurator<T> configureQualifier(Class<T> qualifier) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(qualifier)); additionalQualifiers.add(configurator); BootstrapLogger.LOG.configureQualifierCalled(getReceiver(), qualifier); return configurator; }
@Override public <T extends Annotation> AnnotatedTypeConfigurator<T> configureQualifier(Class<T> qualifier) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(qualifier)); additionalQualifiers.add(configurator); BootstrapLogger.LOG.configureQualifierCalled(getReceiver(), qualifier); return configurator; }
@Override public <T extends Annotation> AnnotatedTypeConfigurator<T> configureQualifier(Class<T> qualifier) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(qualifier)); additionalQualifiers.add(configurator); BootstrapLogger.LOG.configureQualifierCalled(getReceiver(), qualifier); return configurator; }
@Override public <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, String id) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(type)); additionalAnnotatedTypes.add(new AnnotatedTypeRegistration<T>(configurator, id)); BootstrapLogger.LOG.addAnnotatedTypeCalledInBBD(getReceiver(), type); return configurator; }
@Override public <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, String id) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(type)); additionalAnnotatedTypes.add(new AnnotatedTypeRegistration<T>(configurator, id)); BootstrapLogger.LOG.addAnnotatedTypeCalledInBBD(getReceiver(), type); return configurator; }
@Override public <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, String id) { checkWithinObserverNotification(); AnnotatedTypeConfiguratorImpl<T> configurator = new AnnotatedTypeConfiguratorImpl<>(getBeanManager().createAnnotatedType(type)); additionalAnnotatedTypes.add(new AnnotatedTypeRegistration<T>(configurator, id)); BootstrapLogger.LOG.addAnnotatedTypeCalledInBBD(getReceiver(), type); return configurator; }