jfun.yan.xml.nuts.optional
Class InjectionNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.DelegatingNut
              extended by jfun.yan.xml.nuts.FactoryNut
                  extended by jfun.yan.xml.nuts.optional.InjectionNut
All Implemented Interfaces:
java.io.Serializable

public class InjectionNut
extends FactoryNut

Uses any component to create an Injection instance.

Author:
Ben Yu Dec 15, 2005 9:09:40 PM
See Also:
Serialized Form

Constructor Summary
InjectionNut()
           
 
Method Summary
protected  void delegateTo(Component c)
          Subclass override this method to wrap around the delegate target.
 
Methods inherited from class jfun.yan.xml.nuts.FactoryNut
eval, getToString, getType, setToString, setType
 
Methods inherited from class jfun.yan.xml.nuts.DelegatingNut
add, getComponent, getMandatory, setComponent
 
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
 

Constructor Detail

InjectionNut

public InjectionNut()
Method Detail

delegateTo

protected void delegateTo(Component c)
Description copied from class: DelegatingNut
Subclass override this method to wrap around the delegate target.

Overrides:
delegateTo in class DelegatingNut
Parameters:
c - the delegate target.