jfun.yan.xml.nuts.optional
Class InjectNut
java.lang.Object
jfun.yan.xml.nut.Nut
jfun.yan.xml.nut.ComponentNut
jfun.yan.xml.nuts.DelegatingNut
jfun.yan.xml.nuts.optional.InjectNut
- All Implemented Interfaces:
- java.io.Serializable
public class InjectNut
- extends DelegatingNut
This Nut class instantiates a proxy object that implements
a given interface.
Return values of the methods defined in this interface are
subject to automatic dependency injection.
The injection logic is defined by the "binder" attribute that
references a Binder object.
- Author:
- Ben Yu
Nov 10, 2005 12:17:26 AM
- See Also:
- Serialized Form
| Methods inherited from class jfun.yan.xml.nut.Nut |
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InjectNut
public InjectNut()
getInjectee
public java.lang.Class getInjectee()
setInjectee
public void setInjectee(java.lang.Class injectee)
getInjection
public Binder getInjection()
setInjection
public void setInjection(Binder injection)
getType
public java.lang.Class getType()
setType
public void setType(java.lang.Class itf)
eval
public Component eval()
- Specified by:
eval in class ComponentNut