public class VaadinSessionFactory extends Object implements FactoryBean<VaadinSession>, NamedBean
VaadinSession available
for injection. Only works if VaadinSession.getCurrent() does not
return null.| Constructor and Description |
|---|
VaadinSessionFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBeanName() |
VaadinSession |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public static final String BEAN_NAME
public String getBeanName()
getBeanName in interface NamedBeanpublic VaadinSession getObject() throws Exception
getObject in interface FactoryBean<VaadinSession>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<VaadinSession>public boolean isSingleton()
isSingleton in interface FactoryBean<VaadinSession>Copyright © 2017. All rights reserved.