org.jvnet.hk2.internal
Class DynamicConfigurationImpl

java.lang.Object
  extended by org.jvnet.hk2.internal.DynamicConfigurationImpl
All Implemented Interfaces:
DynamicConfiguration

public class DynamicConfigurationImpl
extends Object
implements DynamicConfiguration

Author:
jwells

Constructor Summary
DynamicConfigurationImpl(ServiceLocatorImpl locator)
          Created by the generator, and hence must be public
 
Method Summary
<T> ActiveDescriptor<T>
addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
           
<T> ActiveDescriptor<T>
addActiveDescriptor(Class<T> rawClass)
           
 void addUnbindFilter(Filter unbindFilter)
           
<T> ActiveDescriptor<T>
bind(Descriptor key)
           
 FactoryDescriptors bind(FactoryDescriptors factoryDescriptors)
           
 void commit()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.