com.sun.hk2.jsr330.spi.internal
Class Jsr330LazyInhabitant<T>

java.lang.Object
  extended by com.sun.hk2.component.AbstractInhabitantImpl<T>
      extended by com.sun.hk2.component.EventPublishingInhabitant<T>
          extended by com.sun.hk2.component.LazyInhabitant<T>
              extended by com.sun.hk2.jsr330.spi.internal.Jsr330LazyInhabitant<T>
All Implemented Interfaces:
ClassLoaderHolder, Holder<T>, Binding<T>, Factory<T>, ManagedComponentProvider<T>, Provider<T>, Releasable, Inhabitant<T>

public class Jsr330LazyInhabitant<T>
extends LazyInhabitant<T>

Jsr330 Inhabitants have special injection semantics.

Since:
3.1
Author:
Jeff Trent

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.hk2.component.Holder
Holder.Impl<T>
 
Field Summary
 
Fields inherited from class com.sun.hk2.component.LazyInhabitant
habitat
 
Fields inherited from class com.sun.hk2.component.EventPublishingInhabitant
real
 
Fields inherited from class com.sun.hk2.component.AbstractInhabitantImpl
descriptor, logger
 
Constructor Summary
Jsr330LazyInhabitant(Habitat habitat, Holder<ClassLoader> cl, String typeName, Scope scope, MultiMap<String,String> metadata)
           
 
Method Summary
protected  Creator<T> createCreator(Class<T> c)
          Creates Creator for instantiating objects.
 
Methods inherited from class com.sun.hk2.component.LazyInhabitant
fetch, getClassLoader, lead, loadClass, metadata, release, type, typeName
 
Methods inherited from class com.sun.hk2.component.EventPublishingInhabitant
addInhabitantListener, get, isActive, notify, removeInhabitantListener, toString
 
Methods inherited from class com.sun.hk2.component.AbstractInhabitantImpl
companions, dispose, get, getAnnotation, getAnnotation, getAnnotations, getByType, getDescriptor, getDescriptorFor, getProvider, getProvider, getSerializedMetadata, getSerializedMetadata, matches, setCompanions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Jsr330LazyInhabitant

public Jsr330LazyInhabitant(Habitat habitat,
                            Holder<ClassLoader> cl,
                            String typeName,
                            Scope scope,
                            MultiMap<String,String> metadata)
Method Detail

createCreator

protected Creator<T> createCreator(Class<T> c)
Description copied from class: LazyInhabitant
Creates Creator for instantiating objects.

Overrides:
createCreator in class LazyInhabitant<T>


Copyright © 2012 Oracle Corporation. All Rights Reserved.