@Override public Collection<ContextualInstance<?>> getAllContextualInstances() { Set<ContextualInstance<?>> result = new HashSet<>(); // for instance lazily initialized conversation scope may be active but have null here BeanStore beanStore = getBeanStore(); if (beanStore != null) { getBeanStore().iterator().forEachRemaining((BeanIdentifier beanId) -> { result.add(getBeanStore().get(beanId)); }); } return result; }
@Override public Collection<ContextualInstance<?>> getAllContextualInstances() { Set<ContextualInstance<?>> result = new HashSet<>(); // for instance lazily initialized conversation scope may be active but have null here BeanStore beanStore = getBeanStore(); if (beanStore != null) { getBeanStore().iterator().forEachRemaining((BeanIdentifier beanId) -> { result.add(getBeanStore().get(beanId)); }); } return result; }
@Override public Collection<ContextualInstance<?>> getAllContextualInstances() { Set<ContextualInstance<?>> result = new HashSet<>(); // for instance lazily initialized conversation scope may be active but have null here BeanStore beanStore = getBeanStore(); if (beanStore != null) { getBeanStore().iterator().forEachRemaining((BeanIdentifier beanId) -> { result.add(getBeanStore().get(beanId)); }); } return result; }
@Override public Collection<ContextualInstance<?>> getAllContextualInstances() { Set<ContextualInstance<?>> result = new HashSet<>(); // for instance lazily initialized conversation scope may be active but have null here BeanStore beanStore = getBeanStore(); if (beanStore != null) { getBeanStore().iterator().forEachRemaining((BeanIdentifier beanId) -> { result.add(getBeanStore().get(beanId)); }); } return result; }
@Override public Collection<ContextualInstance<?>> getAllContextualInstances() { Set<ContextualInstance<?>> result = new HashSet<>(); // for instance lazily initialized conversation scope may be active but have null here BeanStore beanStore = getBeanStore(); if (beanStore != null) { getBeanStore().iterator().forEachRemaining((BeanIdentifier beanId) -> { result.add(getBeanStore().get(beanId)); }); } return result; }