public class ProviderServices
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ProviderServices.ProviderClass |
static interface |
ProviderServices.ProviderListener<T> |
Constructor and Description |
---|
ProviderServices(java.lang.Class<? extends ConstrainedToType> constraintToType,
ProviderFactory componentProviderFactory,
java.util.Set<java.lang.Class<?>> providers,
java.util.Set<?> providerInstances)
Create the provider services.
|
ProviderServices(ProviderFactory componentProviderFactory,
java.util.Set<java.lang.Class<?>> providers,
java.util.Set<?> providerInstances)
Create the provider services.
|
Modifier and Type | Method and Description |
---|---|
ProviderFactory |
getComponentProviderFactory() |
<T> java.util.List<T> |
getInstances(java.lang.Class<T> provider,
java.lang.Class<? extends T>[] classes) |
<T> java.util.List<T> |
getInstances(java.lang.Class<T> provider,
java.lang.String[] classNames) |
<T> java.util.Set<T> |
getProviders(java.lang.Class<T> provider) |
<T> void |
getProviders(java.lang.Class<T> provider,
ProviderServices.ProviderListener listener) |
<T> java.util.Set<T> |
getProvidersAndServices(java.lang.Class<T> provider) |
<T> void |
getProvidersAndServices(java.lang.Class<T> provider,
ProviderServices.ProviderListener listener) |
<T> java.util.Set<T> |
getServices(java.lang.Class<T> provider) |
void |
update(java.util.Set<java.lang.Class<?>> providers,
java.util.Set<?> providerInstances,
InjectableProviderFactory ipf) |
public ProviderServices(ProviderFactory componentProviderFactory, java.util.Set<java.lang.Class<?>> providers, java.util.Set<?> providerInstances)
componentProviderFactory
- providers
- providerInstances
- public ProviderServices(java.lang.Class<? extends ConstrainedToType> constraintToType, ProviderFactory componentProviderFactory, java.util.Set<java.lang.Class<?>> providers, java.util.Set<?> providerInstances)
constraintToType
- componentProviderFactory
- providers
- providerInstances
- public void update(java.util.Set<java.lang.Class<?>> providers, java.util.Set<?> providerInstances, InjectableProviderFactory ipf)
public ProviderFactory getComponentProviderFactory()
public <T> java.util.Set<T> getProviders(java.lang.Class<T> provider)
public <T> java.util.Set<T> getServices(java.lang.Class<T> provider)
public <T> java.util.Set<T> getProvidersAndServices(java.lang.Class<T> provider)
public <T> void getProviders(java.lang.Class<T> provider, ProviderServices.ProviderListener listener)
public <T> void getProvidersAndServices(java.lang.Class<T> provider, ProviderServices.ProviderListener listener)
public <T> java.util.List<T> getInstances(java.lang.Class<T> provider, java.lang.String[] classNames)
public <T> java.util.List<T> getInstances(java.lang.Class<T> provider, java.lang.Class<? extends T>[] classes)
Copyright © 2016 Oracle Corporation. All Rights Reserved.