org.jvnet.hk2.internal
Class DynamicConfigurationImpl

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

public class DynamicConfigurationImpl
extends java.lang.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(java.lang.Class<T> rawClass)
           
 void addUnbindFilter(Filter unbindFilter)
           
<T> ActiveDescriptor<T>
bind(Descriptor key)
           
 FactoryDescriptors bind(FactoryDescriptors factoryDescriptors)
           
 void commit()
           
 java.lang.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 java.lang.IllegalArgumentException
Specified by:
addActiveDescriptor in interface DynamicConfiguration
Throws:
java.lang.IllegalArgumentException

addActiveDescriptor

public <T> ActiveDescriptor<T> addActiveDescriptor(java.lang.Class<T> rawClass)
                                        throws java.lang.IllegalArgumentException
Specified by:
addActiveDescriptor in interface DynamicConfiguration
Throws:
java.lang.IllegalArgumentException

addUnbindFilter

public void addUnbindFilter(Filter unbindFilter)
                     throws java.lang.IllegalArgumentException
Specified by:
addUnbindFilter in interface DynamicConfiguration
Throws:
java.lang.IllegalArgumentException

commit

public void commit()
            throws MultiException
Specified by:
commit in interface DynamicConfiguration
Throws:
MultiException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Oracle Corporation. All Rights Reserved.