public class SpringWebObjectFactory
extends org.atmosphere.inject.InjectableObjectFactory
AtmosphereObjectFactory for Spring to be used in Servlet Base Java Apps.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
preventSpringInjection |
| Constructor and Description |
|---|
SpringWebObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.atmosphere.cpr.AtmosphereObjectFactory |
allowInjectionOf(org.atmosphere.inject.Injectable<?> injectable) |
void |
configure(org.atmosphere.cpr.AtmosphereConfig config) |
<T,U extends T> |
newClassInstance(Class<T> classType,
Class<U> classToInstantiate) |
String |
toString() |
public <T,U extends T> U newClassInstance(Class<T> classType, Class<U> classToInstantiate) throws InstantiationException, IllegalAccessException
newClassInstance in interface org.atmosphere.cpr.AtmosphereObjectFactory<org.atmosphere.inject.Injectable<?>>newClassInstance in class org.atmosphere.inject.InjectableObjectFactoryInstantiationExceptionIllegalAccessExceptionpublic org.atmosphere.cpr.AtmosphereObjectFactory allowInjectionOf(org.atmosphere.inject.Injectable<?> injectable)
allowInjectionOf in interface org.atmosphere.cpr.AtmosphereObjectFactory<org.atmosphere.inject.Injectable<?>>allowInjectionOf in class org.atmosphere.inject.InjectableObjectFactorypublic String toString()
toString in class org.atmosphere.inject.InjectableObjectFactorypublic void configure(org.atmosphere.cpr.AtmosphereConfig config)
configure in interface org.atmosphere.inject.AtmosphereConfigAwareconfigure in class org.atmosphere.inject.InjectableObjectFactoryCopyright © 2015. All Rights Reserved.