org.jvnet.hk2.config
Class CagedConfiguredCreator<T>

java.lang.Object
  extended by com.sun.hk2.component.AbstractInhabitantImpl<T>
      extended by org.jvnet.hk2.config.CagedConfiguredCreator<T>
All Implemented Interfaces:
com.sun.hk2.component.Holder<T>, org.jvnet.hk2.component.Creator<T>, org.jvnet.hk2.component.Inhabitant<T>

public class CagedConfiguredCreator<T>
extends com.sun.hk2.component.AbstractInhabitantImpl<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.hk2.component.Holder
com.sun.hk2.component.Holder.Impl<T>
 
Constructor Summary
CagedConfiguredCreator(org.jvnet.hk2.component.Creator core, Dom dom, org.jvnet.hk2.component.CageBuilder builder)
           
 
Method Summary
 T create(org.jvnet.hk2.component.Inhabitant onBehalfOf)
           
 T get(org.jvnet.hk2.component.Inhabitant onBehalfOf)
           
 void initialize(T t, org.jvnet.hk2.component.Inhabitant onBehalfOf)
           
 boolean isInstantiated()
           
 org.jvnet.hk2.component.MultiMap<java.lang.String,java.lang.String> metadata()
           
 void release()
           
 java.lang.Class<T> type()
           
 java.lang.String typeName()
           
 
Methods inherited from class com.sun.hk2.component.AbstractInhabitantImpl
companions, get, getAnnotation, getAnnotation, getSerializedMetadata, getSerializedMetadata, lead, setCompanions, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jvnet.hk2.component.Creator
get
 
Methods inherited from interface org.jvnet.hk2.component.Inhabitant
companions, getSerializedMetadata, getSerializedMetadata, lead, setCompanions
 

Constructor Detail

CagedConfiguredCreator

public CagedConfiguredCreator(org.jvnet.hk2.component.Creator core,
                              Dom dom,
                              org.jvnet.hk2.component.CageBuilder builder)
Method Detail

initialize

public void initialize(T t,
                       org.jvnet.hk2.component.Inhabitant onBehalfOf)
                throws org.jvnet.hk2.component.ComponentException
Specified by:
initialize in interface org.jvnet.hk2.component.Creator<T>
Throws:
org.jvnet.hk2.component.ComponentException

isInstantiated

public boolean isInstantiated()
Specified by:
isInstantiated in interface org.jvnet.hk2.component.Inhabitant<T>

typeName

public java.lang.String typeName()
Specified by:
typeName in interface org.jvnet.hk2.component.Inhabitant<T>

type

public java.lang.Class<T> type()
Specified by:
type in interface org.jvnet.hk2.component.Inhabitant<T>

get

public T get(org.jvnet.hk2.component.Inhabitant onBehalfOf)
Specified by:
get in interface org.jvnet.hk2.component.Inhabitant<T>

create

public T create(org.jvnet.hk2.component.Inhabitant onBehalfOf)
         throws org.jvnet.hk2.component.ComponentException
Specified by:
create in interface org.jvnet.hk2.component.Creator<T>
Throws:
org.jvnet.hk2.component.ComponentException

metadata

public org.jvnet.hk2.component.MultiMap<java.lang.String,java.lang.String> metadata()
Specified by:
metadata in interface org.jvnet.hk2.component.Inhabitant<T>

release

public void release()
Specified by:
release in interface org.jvnet.hk2.component.Inhabitant<T>


Copyright © 2012 Oracle Corporation. All Rights Reserved.