In AbstractBeanStore class:
public <T> void put(String id, ContextualInstance<T> instance) { beanStore.put(id, instance); // moved due to WELD-892 if (isAttached()) { String prefixedId = namingScheme.prefix(id); setAttribute(prefixedId, instance); } log.trace(CONTEXTUAL_INSTANCE_ADDED, instance.getContextual(), id, this); }
In AbstractBeanStore class:
public <T> void put(String id, ContextualInstance<T> instance) {
beanStore.put(id, instance); // moved due to
WELD-892if (isAttached()) { String prefixedId = namingScheme.prefix(id); setAttribute(prefixedId, instance); }
log.trace(CONTEXTUAL_INSTANCE_ADDED, instance.getContextual(), id, this);
}