jfun.yan.xml.nuts.optional
Class PropertiesRegisterNut
java.lang.Object
jfun.yan.xml.nut.Nut
jfun.yan.xml.nuts.optional.AbstractRegisterNut
jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut
jfun.yan.xml.nuts.optional.PropertiesRegisterNut
- All Implemented Interfaces:
- java.io.Serializable
public class PropertiesRegisterNut
- extends AbstractLoopRegisterNut
This class dynamically registers components using the information
read from a property file.
- Author:
- Ben Yu
Dec 22, 2005 12:32:01 AM
- See Also:
- Serialized Form
| Methods inherited from class jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut |
add, calcFQN, createArgs, createArgs, getBody, getMandatoryBody, getPrefix, getSuffix, loop, loop, setBody, setPrefix, setSuffix |
| 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 |
PropertiesRegisterNut
public PropertiesRegisterNut()
getClasspath
public java.lang.String getClasspath()
setClasspath
public void setClasspath(java.lang.String classpath)
getFile
public java.io.File getFile()
setFile
public void setFile(java.io.File file)
getResource
public java.lang.String getResource()
setResource
public void setResource(java.lang.String resource)
readProperties
protected java.util.Properties readProperties()
throws java.io.IOException
- Throws:
java.io.IOException
eval
public void eval()
throws java.io.IOException
- Throws:
java.io.IOException