/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { preInitialize(); BeanLogger.LOG.creatingBean(getType()); if (getScope() != null) { proxyRequired = isNormalScoped(); } else { proxyRequired = false; } BeanLogger.LOG.qualifiersUsed(getQualifiers(), this); BeanLogger.LOG.usingName(getName(), this); BeanLogger.LOG.usingScope(getScope(), this); }
/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { preInitialize(); BeanLogger.LOG.creatingBean(getType()); if (getScope() != null) { proxyRequired = isNormalScoped(); } else { proxyRequired = false; } BeanLogger.LOG.qualifiersUsed(getQualifiers(), this); BeanLogger.LOG.usingName(getName(), this); BeanLogger.LOG.usingScope(getScope(), this); }
/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { preInitialize(); BeanLogger.LOG.creatingBean(getType()); if (getScope() != null) { proxyRequired = isNormalScoped(); } else { proxyRequired = false; } BeanLogger.LOG.qualifiersUsed(getQualifiers(), this); BeanLogger.LOG.usingName(getName(), this); BeanLogger.LOG.usingScope(getScope(), this); }
protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) { if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) { return false; } ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType()); if (event == null) { return false; } if (event.isVeto()) { return true; } if (event.isDirty()) { bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager)); bean.checkSpecialization(); } return false; } }
/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { preInitialize(); BeanLogger.LOG.creatingBean(getType()); if (getScope() != null) { proxyRequired = isNormalScoped(); } else { proxyRequired = false; } BeanLogger.LOG.qualifiersUsed(getQualifiers(), this); BeanLogger.LOG.usingName(getName(), this); BeanLogger.LOG.usingScope(getScope(), this); }
/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { preInitialize(); BeanLogger.LOG.creatingBean(getType()); if (getScope() != null) { proxyRequired = isNormalScoped(); } else { proxyRequired = false; } BeanLogger.LOG.qualifiersUsed(getQualifiers(), this); BeanLogger.LOG.usingName(getName(), this); BeanLogger.LOG.usingScope(getScope(), this); }
/** * Initializes the bean and its metadata */ @Override public void internalInitialize(BeanDeployerEnvironment environment) { preInitialize(); BeanLogger.LOG.creatingBean(getType()); if (getScope() != null) { proxyRequired = isNormalScoped(); } else { proxyRequired = false; } BeanLogger.LOG.qualifiersUsed(getQualifiers(), this); BeanLogger.LOG.usingName(getName(), this); BeanLogger.LOG.usingScope(getScope(), this); }
protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) { if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) { return false; } ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType()); if (event == null) { return false; } if (event.isVeto()) { return true; } if (event.isDirty()) { bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager)); bean.checkSpecialization(); } if (event.isIgnoreFinalMethods()) { bean.setIgnoreFinalMethods(); } return false; } }
protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) { if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) { return false; } ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType()); if (event == null) { return false; } if (event.isVeto()) { return true; } if (event.isDirty()) { bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager)); bean.checkSpecialization(); } if (event.isIgnoreFinalMethods()) { bean.setIgnoreFinalMethods(); } return false; } }
protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) { if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) { return false; } ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType()); if (event == null) { return false; } if (event.isVeto()) { return true; } if (event.isDirty()) { bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager)); bean.checkSpecialization(); } if (event.isIgnoreFinalMethods()) { bean.setIgnoreFinalMethods(); } return false; } }
protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) { if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) { return false; } ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType()); if (event == null) { return false; } if (event.isVeto()) { return true; } if (event.isDirty()) { bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager)); bean.checkSpecialization(); } if (event.isIgnoreFinalMethods()) { bean.setIgnoreFinalMethods(); } return false; } }
protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) { if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) { return false; } ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType()); if (event == null) { return false; } if (event.isVeto()) { return true; } if (event.isDirty()) { bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager)); bean.checkSpecialization(); } if (event.isIgnoreFinalMethods()) { bean.setIgnoreFinalMethods(); } return false; } }