|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.create.AbstractCreator
org.directwebremoting.create.NewCreator
public class NewCreator
A creator that simply uses the default constructor each time it is called.
Field Summary |
---|
Fields inherited from interface org.directwebremoting.extend.Creator |
---|
APPLICATION, PAGE, REQUEST, SCRIPT, SESSION |
Constructor Summary | |
---|---|
NewCreator()
|
Method Summary | |
---|---|
java.lang.String |
getClassName()
Gets the name of the class to create. |
java.lang.Object |
getInstance()
Accessor for the/an instance of this Creator. |
java.lang.Class |
getType()
Accessor for the java.lang.Class that this Creator
allows access to. |
void |
setClass(java.lang.String classname)
What sort of class do we create? |
void |
setClassName(java.lang.String className)
Sets the class name to create. |
Methods inherited from class org.directwebremoting.create.AbstractCreator |
---|
checkScope, getJavascript, getScope, isCacheable, setCacheable, setJavascript, setProperties, setScope, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.directwebremoting.extend.Creator |
---|
getJavascript, getScope, isCacheable, setProperties |
Constructor Detail |
---|
public NewCreator()
Method Detail |
---|
public void setClass(java.lang.String classname)
classname
- The name of the classpublic java.lang.Class getType()
Creator
java.lang.Class
that this Creator
allows access to.
getType
in interface Creator
public java.lang.Object getInstance() throws java.lang.InstantiationException
Creator
getInstance
in interface Creator
java.lang.InstantiationException
- If for some reason the object can not be createdpublic void setClassName(java.lang.String className)
className
- The name of the class to createpublic java.lang.String getClassName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |