public class DynamicConfigurationImpl extends Object implements DynamicConfiguration
| Constructor and Description |
|---|
DynamicConfigurationImpl(ServiceLocatorImpl locator)
Created by the generator, and hence must be public
|
| Modifier and Type | Method and Description |
|---|---|
<T> ActiveDescriptor<T> |
addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) |
<T> ActiveDescriptor<T> |
addActiveDescriptor(ActiveDescriptor<T> activeDescriptor,
boolean requiresDeepCopy) |
<T> ActiveDescriptor<T> |
addActiveDescriptor(Class<T> rawClass) |
<T> FactoryDescriptors |
addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) |
void |
addIdempotentFilter(Filter... idempotentFilter) |
void |
addUnbindFilter(Filter unbindFilter) |
<T> ActiveDescriptor<T> |
bind(Descriptor key) |
<T> ActiveDescriptor<T> |
bind(Descriptor key,
boolean requiresDeepCopy) |
FactoryDescriptors |
bind(FactoryDescriptors factoryDescriptors) |
FactoryDescriptors |
bind(FactoryDescriptors factoryDescriptors,
boolean requiresDeepCopy) |
void |
commit() |
void |
registerTwoPhaseResources(TwoPhaseResource... resources) |
String |
toString() |
public DynamicConfigurationImpl(ServiceLocatorImpl locator)
locator - The locator for which this will be the configuration servicepublic <T> ActiveDescriptor<T> bind(Descriptor key)
bind in interface DynamicConfigurationpublic <T> ActiveDescriptor<T> bind(Descriptor key, boolean requiresDeepCopy)
bind in interface DynamicConfigurationpublic FactoryDescriptors bind(FactoryDescriptors factoryDescriptors)
bind in interface DynamicConfigurationpublic FactoryDescriptors bind(FactoryDescriptors factoryDescriptors, boolean requiresDeepCopy)
bind in interface DynamicConfigurationpublic <T> ActiveDescriptor<T> addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) throws IllegalArgumentException
addActiveDescriptor in interface DynamicConfigurationIllegalArgumentExceptionpublic <T> ActiveDescriptor<T> addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) throws IllegalArgumentException
addActiveDescriptor in interface DynamicConfigurationIllegalArgumentExceptionpublic <T> ActiveDescriptor<T> addActiveDescriptor(Class<T> rawClass) throws IllegalArgumentException
addActiveDescriptor in interface DynamicConfigurationIllegalArgumentExceptionpublic <T> FactoryDescriptors addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) throws MultiException, IllegalArgumentException
addActiveFactoryDescriptor in interface DynamicConfigurationMultiExceptionIllegalArgumentExceptionpublic void addUnbindFilter(Filter unbindFilter) throws IllegalArgumentException
addUnbindFilter in interface DynamicConfigurationIllegalArgumentExceptionpublic void addIdempotentFilter(Filter... idempotentFilter) throws IllegalArgumentException
addIdempotentFilter in interface DynamicConfigurationIllegalArgumentExceptionpublic void registerTwoPhaseResources(TwoPhaseResource... resources)
registerTwoPhaseResources in interface DynamicConfigurationpublic void commit()
throws MultiException
commit in interface DynamicConfigurationMultiExceptionCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.