|
||||||||||
| 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 |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Sets the application context. |
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 |
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.InitializingBeanInitializingBeanpublic 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 Creatorpublic java.lang.Object getInstance()
getInstance in interface Creatorpublic 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 setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the application contextpublic void setBeanId(java.lang.String beanId)
beanId - the id of the bean to remotepublic void setConfig(CreatorConfig config)
config - the configuration for this creatorCreatorConfigpublic CreatorConfig getConfig()
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||