org.jvnet.hk2.config.provider.internal
Class ConfigInhabitantProvider

java.lang.Object
  extended by com.sun.hk2.component.AbstractInhabitantProvider
      extended by org.jvnet.hk2.config.provider.internal.ConfigInhabitantProvider
All Implemented Interfaces:
InhabitantProviderInterceptor

public class ConfigInhabitantProvider
extends AbstractInhabitantProvider


Constructor Summary
ConfigInhabitantProvider(Habitat h)
           
 
Method Summary
 AbstractInhabitantImpl<?> visit(AbstractInhabitantImpl<?> i, String typeName, Set<String> indicies, Iterator<InhabitantProviderInterceptor> remainingInterceptors, InhabitantStore store)
          Called by the framework to either decorate the inhabitant, or even intercept and replace the created inhabitant.
 
Methods inherited from class com.sun.hk2.component.AbstractInhabitantProvider
contains
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigInhabitantProvider

public ConfigInhabitantProvider(Habitat h)
Method Detail

visit

public AbstractInhabitantImpl<?> visit(AbstractInhabitantImpl<?> i,
                                       String typeName,
                                       Set<String> indicies,
                                       Iterator<InhabitantProviderInterceptor> remainingInterceptors,
                                       InhabitantStore store)
Description copied from interface: InhabitantProviderInterceptor
Called by the framework to either decorate the inhabitant, or even intercept and replace the created inhabitant.

Parameters:
i - the inhabitant offered by the framework, or the previous interceptor
typeName - the type name of the inhabitant
indicies - the indicies of the inhabitant
remainingInterceptors - the interceptors that follow. It is the responsibility of the implementation to continue the visitations for remaining interceptors unless there is some special conditions warranting an immediate short-circuiting.
store - the store that can be used for adding additional inhabitants
Returns:
the Inhabitant for the framework to add, or null if none should be added


Copyright © 2013 Oracle Corporation. All Rights Reserved.