public class SpringWebObjectFactory extends Object implements org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>
AtmosphereObjectFactory for Spring to be used in Servlet Base Java Apps.| Modifier and Type | Field and Description |
|---|---|
static String |
ATMOSPHERE_SPRING_EXCLUDE_CLASSES
A comma delimited list of
org.atmosphere.inject.InjectableObjectFactory.DEFAULT_ATMOSPHERE_INJECTABLE that
won't be created by Spring. |
protected boolean |
preventSpringInjection |
| Constructor and Description |
|---|
SpringWebObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.atmosphere.cpr.AtmosphereObjectFactory |
allowInjectionOf(Class<?> aClass) |
void |
configure(org.atmosphere.cpr.AtmosphereConfig config) |
<T,U extends T> |
newClassInstance(Class<T> classType,
Class<U> classToInstantiate) |
String |
toString() |
public static final String ATMOSPHERE_SPRING_EXCLUDE_CLASSES
org.atmosphere.inject.InjectableObjectFactory.DEFAULT_ATMOSPHERE_INJECTABLE that
won't be created by Spring.protected boolean preventSpringInjection
public <T,U extends T> U newClassInstance(Class<T> classType, Class<U> classToInstantiate) throws InstantiationException, IllegalAccessException
newClassInstance in interface org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>InstantiationExceptionIllegalAccessExceptionpublic org.atmosphere.cpr.AtmosphereObjectFactory allowInjectionOf(Class<?> aClass)
allowInjectionOf in interface org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>public void configure(org.atmosphere.cpr.AtmosphereConfig config)
configure in interface org.atmosphere.inject.AtmosphereConfigAwareCopyright © 2015. All Rights Reserved.