public interface BeanProvider<T>
Modifier and Type | Method and Description |
---|---|
T |
getInstance(CreationalContext context)
Returns a new instance of the bean which this BeanProvider represents.
|
T getInstance(CreationalContext context)
InitializationCallback
tasks or ProxyResolver
tasks should
be added to the CreationalContext
by this method, only to be called by the bean manager itself, before
putting all beans created within the context into service.context
- the CreationalContext
associated with this bean construction.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.