public interface BeanInstanceProducer
Modifier and Type | Method and Description |
---|---|
<B> B |
produceBeanInstance(java.lang.Class<B> beanType)
Produce a bean instance
|
<B> B |
produceBeanInstance(java.lang.String name,
java.lang.Class<B> beanType)
Produce a named bean instance
|
<B> B produceBeanInstance(java.lang.Class<B> beanType)
beanType
- The Java type of bean to produce<B> B produceBeanInstance(java.lang.String name, java.lang.Class<B> beanType)
name
- The bean namebeanType
- The Java type that the produced bean should be typed asCopyright © 2001-2019 Red Hat, Inc. All Rights Reserved.