public interface AtmosphereObjectFactory
| Modifier and Type | Method and Description |
|---|---|
<T,U extends T> |
newClassInstance(AtmosphereFramework framework,
Class<T> classType,
Class<U> defaultType)
Delegate the creation of Object to the underlying object provider like Spring, Guice, etc.
|
<T,U extends T> T newClassInstance(AtmosphereFramework framework, Class<T> classType, Class<U> defaultType) throws InstantiationException, IllegalAccessException
framework - AtmosphereFrameworkclassType - The class' type to be createddefaultType - a class to be created @return an instance of TInstantiationExceptionIllegalAccessExceptionCopyright © 2015. All Rights Reserved.