public interface BeanFactory<T>
Modifier and Type | Method and Description |
---|---|
BeanHolder<T> |
create(BeanCreationContext context) |
BeanHolder<T> create(BeanCreationContext context)
context
- A context object providing ways to create more beans, in particular.BeanHolder
.
Use BeanHolder.of(Object)
if you don't need any particular closing behavior.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.