jfun.yan.xml.nuts
Class FactoryNut

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InjectionNut

public class FactoryNut
extends DelegatingNut

Nut class for <factory> tag.

Author:
Ben Yu Nov 9, 2005 11:42:03 PM
See Also:
Serialized Form

Constructor Summary
FactoryNut()
           
 
Method Summary
 Component eval()
           
 java.lang.String getToString()
           
 java.lang.Class getType()
           
 void setToString(java.lang.String toString)
           
 void setType(java.lang.Class type)
          Set the factory interface.
 
Methods inherited from class jfun.yan.xml.nuts.DelegatingNut
add, delegateTo, 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

FactoryNut

public FactoryNut()
Method Detail

getToString

public java.lang.String getToString()

setToString

public void setToString(java.lang.String toString)

getType

public java.lang.Class getType()

setType

public void setType(java.lang.Class type)
Set the factory interface. The default value is Factory


eval

public Component eval()
Specified by:
eval in class ComponentNut