Refine search
public void setProducer(Producer<X> producer) { checkWithinObserverNotification(); BootstrapLogger.LOG.setProducerCalled(getReceiver(), getProducer(), producer); this.bean.setProducer(producer); }
@Override public ProducerConfigurator<X> configureProducer() { if (producerSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessProducer.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new ProducerConfiguratorImpl<X>(bean.getProducer()); } BootstrapLogger.LOG.configureProducerCalled(getReceiver(), bean); return configurator; }
public Producer<X> getProducer() { checkWithinObserverNotification(); return bean.getProducer(); }
protected static <T, X> void fire(BeanManagerImpl beanManager, AbstractProducerBean<T, X, Member> bean) { if (beanManager.isBeanEnabled(bean)) { new ProcessProducerImpl<T, X>(beanManager, Reflections.<AnnotatedMember<T>> cast(bean.getAnnotated()), bean) { }.fire(); } }
public void fireProcessProducer(BeanManagerImpl beanManager, AbstractProducerBean<?, ?, Member> bean) { if (isProcessProducerObserved()) { ProcessProducerImpl.fire(beanManager, bean); } }
public AnnotatedMember<T> getAnnotatedMember() { checkWithinObserverNotification(); return annotatedMember; }
@Override public ProducerConfigurator<X> configureProducer() { if (producerSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessProducer.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new ProducerConfiguratorImpl<X>(bean.getProducer()); } BootstrapLogger.LOG.configureProducerCalled(getReceiver(), bean); return configurator; }
public Producer<X> getProducer() { checkWithinObserverNotification(); return bean.getProducer(); }
protected static <T, X> void fire(BeanManagerImpl beanManager, AbstractProducerBean<T, X, Member> bean) { if (beanManager.isBeanEnabled(bean)) { new ProcessProducerImpl<T, X>(beanManager, Reflections.<AnnotatedMember<T>> cast(bean.getAnnotated()), bean) { }.fire(); } }
public void fireProcessProducer(BeanManagerImpl beanManager, AbstractProducerBean<?, ?, Member> bean) { if (isProcessProducerObserved()) { ProcessProducerImpl.fire(beanManager, bean); } }
public AnnotatedMember<T> getAnnotatedMember() { checkWithinObserverNotification(); return annotatedMember; }
public void setProducer(Producer<X> producer) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessProducer.class.getSimpleName(), getReceiver()); } checkArgumentNotNull(producer, "producer"); checkWithinObserverNotification(); BootstrapLogger.LOG.setProducerCalled(getReceiver(), getProducer(), producer); this.bean.setProducer(producer); producerSet = true; }
@Override public ProducerConfigurator<X> configureProducer() { if (producerSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessProducer.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new ProducerConfiguratorImpl<X>(bean.getProducer()); } BootstrapLogger.LOG.configureProducerCalled(getReceiver(), bean); return configurator; }
public Producer<X> getProducer() { checkWithinObserverNotification(); return bean.getProducer(); }
protected static <T, X> void fire(BeanManagerImpl beanManager, AbstractProducerBean<T, X, Member> bean) { if (beanManager.isBeanEnabled(bean)) { new ProcessProducerImpl<T, X>(beanManager, Reflections.<AnnotatedMember<T>> cast(bean.getAnnotated()), bean) { }.fire(); } }
public void fireProcessProducer(BeanManagerImpl beanManager, AbstractProducerBean<?, ?, Member> bean) { if (isProcessProducerObserved()) { ProcessProducerImpl.fire(beanManager, bean); } }
public AnnotatedMember<T> getAnnotatedMember() { checkWithinObserverNotification(); return annotatedMember; }
public void setProducer(Producer<X> producer) { if (configurator != null) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessProducer.class.getSimpleName(), getReceiver()); } checkArgumentNotNull(producer, "producer"); checkWithinObserverNotification(); BootstrapLogger.LOG.setProducerCalled(getReceiver(), getProducer(), producer); this.bean.setProducer(producer); producerSet = true; }
@Override public ProducerConfigurator<X> configureProducer() { if (producerSet) { throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(ProcessProducer.class.getSimpleName(), getReceiver()); } checkWithinObserverNotification(); if (configurator == null) { configurator = new ProducerConfiguratorImpl<X>(bean.getProducer()); } BootstrapLogger.LOG.configureProducerCalled(getReceiver(), bean); return configurator; }
public Producer<X> getProducer() { checkWithinObserverNotification(); return bean.getProducer(); }