public class IoCProviderFactory extends ProviderFactory
ProviderFactory
that defers to an
IoCComponentProviderFactory
.
All registered provider factory implementations are being polled
so that a single IoCComponentProvider
instance could be selected
for each component.ProviderFactory.Destroyable
LOGGER
Constructor and Description |
---|
IoCProviderFactory(InjectableProviderContext ipc,
IoCComponentProviderFactory icpf)
Create a new provider factory based
on given context and factory.
|
IoCProviderFactory(InjectableProviderContext ipc,
java.util.List<IoCComponentProviderFactory> factories)
Create a new provider factory based on given context and factories.
|
Modifier and Type | Method and Description |
---|---|
ComponentProvider |
_getComponentProvider(java.lang.Class c) |
destroy, getComponentProvider, getComponentProvider, getInjectableProviderContext, injectOnAllComponents, injectOnProviderInstance, injectOnProviderInstances
public IoCProviderFactory(InjectableProviderContext ipc, IoCComponentProviderFactory icpf)
ipc
- the injectable provider context.icpf
- the IoC component provider factory.public IoCProviderFactory(InjectableProviderContext ipc, java.util.List<IoCComponentProviderFactory> factories)
ipc
- the injectable provider context.factories
- the list of IoC component provider factory.public ComponentProvider _getComponentProvider(java.lang.Class c)
_getComponentProvider
in class ProviderFactory
Copyright © 2016 Oracle Corporation. All Rights Reserved.