public interface AtmosphereObjectFactory<Z> extends AtmosphereConfigAware
| Modifier and Type | Method and Description |
|---|---|
AtmosphereObjectFactory |
allowInjectionOf(Z z)
Pass information to the underlying Dependency Injection Implementation
|
<T,U extends T> |
newClassInstance(java.lang.Class<T> classType,
java.lang.Class<U> defaultType)
Delegate the creation of Object to the underlying object provider like Spring, Guice, etc.
|
configure<T,U extends T> T newClassInstance(java.lang.Class<T> classType,
java.lang.Class<U> defaultType)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
AtmosphereConfigAware. AtmosphereConfigAware.configure(AtmosphereConfig)
should be called in that case.classType - The class' type to be createddefaultType - a class to be created @return an instance of Tjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionAtmosphereObjectFactory allowInjectionOf(Z z)
z - an ZCopyright © 2018. All Rights Reserved.