public class SpringWebObjectFactory
extends java.lang.Object
implements org.atmosphere.cpr.AtmosphereObjectFactory<java.lang.Class<?>>
AtmosphereObjectFactory for Spring to be used in Servlet Base Java Apps.| Modifier and Type | Field and Description |
|---|---|
static java.lang.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(java.lang.Class<?> aClass) |
void |
configure(org.atmosphere.cpr.AtmosphereConfig config) |
<T,U extends T> |
newClassInstance(java.lang.Class<T> classType,
java.lang.Class<U> classToInstantiate) |
java.lang.String |
toString() |
public static final java.lang.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(java.lang.Class<T> classType,
java.lang.Class<U> classToInstantiate)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
newClassInstance in interface org.atmosphere.cpr.AtmosphereObjectFactory<java.lang.Class<?>>java.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic org.atmosphere.cpr.AtmosphereObjectFactory allowInjectionOf(java.lang.Class<?> aClass)
allowInjectionOf in interface org.atmosphere.cpr.AtmosphereObjectFactory<java.lang.Class<?>>public java.lang.String toString()
toString in class java.lang.Objectpublic void configure(org.atmosphere.cpr.AtmosphereConfig config)
configure in interface org.atmosphere.inject.AtmosphereConfigAwareCopyright © 2021. All Rights Reserved.