org.jvnet.hk2.internal
Class DynamicConfigurationImpl
java.lang.Object
org.jvnet.hk2.internal.DynamicConfigurationImpl
- All Implemented Interfaces:
- DynamicConfiguration
public class DynamicConfigurationImpl
- extends Object
- implements DynamicConfiguration
- Author:
- jwells
DynamicConfigurationImpl
public DynamicConfigurationImpl(ServiceLocatorImpl locator)
- Created by the generator, and hence must be public
- Parameters:
locator - The locator for which this will be the configuration service
bind
public <T> ActiveDescriptor<T> bind(Descriptor key)
- Specified by:
bind in interface DynamicConfiguration
bind
public FactoryDescriptors bind(FactoryDescriptors factoryDescriptors)
- Specified by:
bind in interface DynamicConfiguration
addActiveDescriptor
public <T> ActiveDescriptor<T> addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
throws IllegalArgumentException
- Specified by:
addActiveDescriptor in interface DynamicConfiguration
- Throws:
IllegalArgumentException
addActiveDescriptor
public <T> ActiveDescriptor<T> addActiveDescriptor(Class<T> rawClass)
throws IllegalArgumentException
- Specified by:
addActiveDescriptor in interface DynamicConfiguration
- Throws:
IllegalArgumentException
addUnbindFilter
public void addUnbindFilter(Filter unbindFilter)
throws IllegalArgumentException
- Specified by:
addUnbindFilter in interface DynamicConfiguration
- Throws:
IllegalArgumentException
commit
public void commit()
throws MultiException
- Specified by:
commit in interface DynamicConfiguration
- Throws:
MultiException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 Oracle Corporation. All Rights Reserved.