|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ltd.getahead.dwr.create.AbstractCreator
uk.ltd.getahead.dwr.create.SpringCreator
A creator that relies on a spring bean factory.
Field Summary |
Fields inherited from interface uk.ltd.getahead.dwr.Creator |
APPLICATION, PAGE, REQUEST, SESSION |
Constructor Summary | |
SpringCreator()
|
Method Summary | |
java.lang.String |
getBeanName()
|
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 |
setBeanName(java.lang.String beanName)
|
void |
setClass(java.lang.String classname)
What sort of class do we create? |
static void |
setOverrideBeanFactory(BeanFactory factory)
Set a web-app wide BeanFactory. |
void |
setProperties(java.util.Map params)
DefaultConfiguration is done via access to the DOM Element. |
static void |
setXmlBeanFactory(BeanFactory factory)
Deprecated. This method is misnamed use setOverrideBeanFactory |
Methods inherited from class uk.ltd.getahead.dwr.create.AbstractCreator |
getJavascript, getScope, setJavascript, setScope, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface uk.ltd.getahead.dwr.Creator |
getScope |
Constructor Detail |
public SpringCreator()
Method Detail |
public java.lang.String getBeanName()
public void setBeanName(java.lang.String beanName)
beanName
- The beanName to set.public void setClass(java.lang.String classname)
classname
- The name of the classpublic void setProperties(java.util.Map params) throws java.lang.IllegalArgumentException
Creator
setProperties
in interface Creator
setProperties
in class AbstractCreator
java.lang.IllegalArgumentException
public 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 static void setXmlBeanFactory(BeanFactory factory)
factory
- The factory to set.public static void setOverrideBeanFactory(BeanFactory factory)
factory
- The factory to set.
|
Copyright ? 2005 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |