|
|||||||||
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(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 |
---|
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 |
Constructor Detail |
---|
public BeanCreator()
Method Detail |
---|
public void afterPropertiesSet()
org.springframework.beans.factory.InitializingBean
public java.lang.Class getType()
beanClass
property. In case no class name has been set, it returns the
class of the specified bean.
public java.lang.Object getInstance()
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(BeanFactory beanFactory) throws BeansException
beanFactory
- the beanFactory that created this BeanCreator
BeansException
org.springframework.beans.factory.BeanFactoryAware#setBeanFactory(org.springframework.beans.factory.BeanFactory)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |