T
- public interface ProviderRegistryService<T>
Modifier and Type | Method and Description |
---|---|
boolean |
isCacheInstances() |
void |
registerClass(java.lang.String name,
java.lang.Class<? extends T> clazz)
Register a class for a provider
|
void |
registerInstance(java.lang.String name,
T object)
Register an instance for a provider
|
void |
setCacheInstances(boolean cacheInstances)
Set to true to enable instance registration cache
|
void registerClass(java.lang.String name, java.lang.Class<? extends T> clazz)
name
- provider nameclazz
- classvoid registerInstance(java.lang.String name, T object)
name
- providerobject
- objectboolean isCacheInstances()
void setCacheInstances(boolean cacheInstances)
cacheInstances
-