|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.create.AbstractCreator
org.directwebremoting.spring.BeanCreator
public class BeanCreator
A creator that proxies to the specified bean.
Note that it can be configured with additional include rules,
exclude rules, filters and authentication rules using the
specified creator configuration.
CreatorConfig
Field Summary |
---|
Fields inherited from interface org.directwebremoting.extend.Creator |
---|
APPLICATION, PAGE, REQUEST, SCRIPT, SESSION |
Constructor Summary | |
---|---|
BeanCreator()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Is called by the Spring container after all properties have been set. |
CreatorConfig |
getConfig()
Gets the configuration for this creator. |
java.lang.Object |
getInstance()
Accessor for the instance of this creator. |
java.lang.Class |
getType()
Accessor for the class that this creator allows access to. |
void |
setBean(java.lang.Object bean)
Sets the bean for this bean creator. |
void |
setBeanClass(java.lang.Class beanClass)
Sets the bean class for this creator. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Sets the bean factory that contains this BeanCreator. |
void |
setBeanId(java.lang.String beanId)
Sets the id of the bean to remote using DWR. |
void |
setConfig(CreatorConfig config)
Sets the configuration for this creator. |
Methods inherited from class org.directwebremoting.create.AbstractCreator |
---|
getJavascript, getScope, isCacheable, setCacheable, setJavascript, setProperties, setScope, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeanCreator()
Method Detail |
---|
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
InitializingBean
public java.lang.Class getType()
beanClass
property. In case no class name has been set, it returns the
class of the specified bean.
getType
in interface Creator
public java.lang.Object getInstance()
getInstance
in interface Creator
public void setBean(java.lang.Object bean)
bean
- the bean for this creatorpublic void setBeanClass(java.lang.Class beanClass)
beanClass
- the class of the bean to remotepublic void setBeanId(java.lang.String beanId)
beanId
- the id of the bean to remotepublic void setConfig(CreatorConfig config)
config
- the configuration for this creatorCreatorConfig
public CreatorConfig getConfig()
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
beanFactory
- the beanFactory that created this BeanCreator
org.springframework.beans.BeansException
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)
|
Copyright ? 2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |