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

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

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

Created by IntelliJ IDEA. User: dochez Date: Feb 15, 2008 Time: 4:38:06 PM To change this template use File | Settings | File Templates.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.hk2.component.Holder
com.sun.hk2.component.Holder.Impl<T>
 
Constructor Summary
CagedConfiguredWomb(org.jvnet.hk2.component.Womb 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jvnet.hk2.component.Womb
get
 
Methods inherited from interface org.jvnet.hk2.component.Inhabitant
companions, getSerializedMetadata, getSerializedMetadata, lead, setCompanions
 

Constructor Detail

CagedConfiguredWomb

public CagedConfiguredWomb(org.jvnet.hk2.component.Womb 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.Womb<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.Womb<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 © 2010 Sun Microsystems, Inc.. All Rights Reserved.