|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.factory.config.AbstractFactoryBean
org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
@Deprecated public class ContextApplicationFactoryBean
Spring singleton factory bean that produces the currently running ContextApplication Vaadin application instance.
This bean will only work if there is a current ContextApplication running at the time this class
is instantiated (see ContextApplication.get() for details). Therefore, it is most appropriate for use
within a SpringContextApplication's appplication context.
This class is deprecated because there is a simpler and better way to expose and configure your Vaadin application
in the Spring application context is using ContextApplication.get() as a factory method:
<bean id="myVaadinApplication" class="org.dellroad.stuff.vaadin.ContextApplication" factory-method="get"/>
ContextApplication.get(),
SpringContextApplication| Field Summary |
|---|
| Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
|---|
logger |
| Constructor Summary | |
|---|---|
ContextApplicationFactoryBean()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Deprecated. |
protected ContextApplication |
createInstance()
Deprecated. |
Class<? extends ContextApplication> |
getObjectType()
Deprecated. |
boolean |
isAutowire()
Deprecated. Should this instance autowire the application instance be autowired using the containing bean factory? |
void |
setAutowire(boolean autowire)
Deprecated. |
| Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
|---|
destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextApplicationFactoryBean()
| Method Detail |
|---|
public boolean isAutowire()
AutowireCapableBeanFactory.
Default is false.
public void setAutowire(boolean autowire)
public Class<? extends ContextApplication> getObjectType()
getObjectType in interface FactoryBeangetObjectType in class AbstractFactoryBeanprotected ContextApplication createInstance()
createInstance in class AbstractFactoryBean
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class AbstractFactoryBeanException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||