org.atmosphere.spring
Class SpringWebObjectFactory
java.lang.Object
org.atmosphere.spring.SpringWebObjectFactory
- All Implemented Interfaces:
- org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>, org.atmosphere.inject.AtmosphereConfigAware
public class SpringWebObjectFactory
- extends Object
- implements org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>
An AtmosphereObjectFactory for Spring to be used in Servlet Base Java Apps.
- Author:
- Aparup Banerjee
ATMOSPHERE_SPRING_EXCLUDE_CLASSES
public static final String ATMOSPHERE_SPRING_EXCLUDE_CLASSES
- A comma delimited list of
org.atmosphere.inject.InjectableObjectFactory.DEFAULT_ATMOSPHERE_INJECTABLE that
won't be created by Spring.
- See Also:
- Constant Field Values
preventSpringInjection
protected boolean preventSpringInjection
SpringWebObjectFactory
public SpringWebObjectFactory()
newClassInstance
public <T,U extends T> U newClassInstance(Class<T> classType,
Class<U> classToInstantiate)
throws InstantiationException,
IllegalAccessException
- Specified by:
newClassInstance in interface org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>
- Throws:
InstantiationException
IllegalAccessException
allowInjectionOf
public org.atmosphere.cpr.AtmosphereObjectFactory allowInjectionOf(Class<?> aClass)
- Specified by:
allowInjectionOf in interface org.atmosphere.cpr.AtmosphereObjectFactory<Class<?>>
toString
public String toString()
- Overrides:
toString in class Object
configure
public void configure(org.atmosphere.cpr.AtmosphereConfig config)
- Specified by:
configure in interface org.atmosphere.inject.AtmosphereConfigAware
Copyright © 2015. All Rights Reserved.