|
|||||||||
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.NullCreator
public class NullCreator
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 | |
---|---|
NullCreator()
|
Method Summary | |
---|---|
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? |
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 NullCreator()
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 created
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |