java.lang.Object
org.jvnet.hk2.internal.DynamicConfigurationImpl
- All Implemented Interfaces:
DynamicConfiguration
The system implementation of the DynamicConfiguration service
- Author:
- jwells
-
Constructor Summary
ConstructorsConstructorDescriptionCreated by the generator, and hence must be public -
Method Summary
Modifier and TypeMethodDescription<T> ActiveDescriptor<T>addActiveDescriptor(Class<T> rawClass) <T> ActiveDescriptor<T>addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) <T> ActiveDescriptor<T>addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) voidaddIdempotentFilter(Filter... idempotentFilter) voidaddUnbindFilter(Filter unbindFilter) <T> ActiveDescriptor<T>bind(Descriptor key) <T> ActiveDescriptor<T>bind(Descriptor key, boolean requiresDeepCopy) bind(FactoryDescriptors factoryDescriptors) bind(FactoryDescriptors factoryDescriptors, boolean requiresDeepCopy) voidcommit()voidregisterTwoPhaseResources(TwoPhaseResource... resources) toString()
-
Constructor Details
-
DynamicConfigurationImpl
Created by the generator, and hence must be public- Parameters:
locator- The locator for which this will be the configuration service
-
-
Method Details
-
bind
- Specified by:
bindin interfaceDynamicConfiguration
-
bind
- Specified by:
bindin interfaceDynamicConfiguration
-
bind
- Specified by:
bindin interfaceDynamicConfiguration
-
bind
- Specified by:
bindin interfaceDynamicConfiguration
-
addActiveDescriptor
public <T> ActiveDescriptor<T> addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) throws IllegalArgumentException - Specified by:
addActiveDescriptorin interfaceDynamicConfiguration- Throws:
IllegalArgumentException
-
addActiveDescriptor
public <T> ActiveDescriptor<T> addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) throws IllegalArgumentException - Specified by:
addActiveDescriptorin interfaceDynamicConfiguration- Throws:
IllegalArgumentException
-
addActiveDescriptor
public <T> ActiveDescriptor<T> addActiveDescriptor(Class<T> rawClass) throws IllegalArgumentException - Specified by:
addActiveDescriptorin interfaceDynamicConfiguration- Throws:
IllegalArgumentException
-
addActiveFactoryDescriptor
public <T> FactoryDescriptors addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) throws MultiException, IllegalArgumentException - Specified by:
addActiveFactoryDescriptorin interfaceDynamicConfiguration- Throws:
MultiExceptionIllegalArgumentException
-
addUnbindFilter
- Specified by:
addUnbindFilterin interfaceDynamicConfiguration- Throws:
IllegalArgumentException
-
addIdempotentFilter
- Specified by:
addIdempotentFilterin interfaceDynamicConfiguration- Throws:
IllegalArgumentException
-
registerTwoPhaseResources
- Specified by:
registerTwoPhaseResourcesin interfaceDynamicConfiguration
-
commit
- Specified by:
commitin interfaceDynamicConfiguration- Throws:
MultiException
-
toString
-