public interface AtmosphereObjectFactory
| Modifier and Type | Method and Description |
|---|---|
<T,U extends T> |
newClassInstance(AtmosphereFramework framework,
java.lang.Class<T> classType,
java.lang.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, java.lang.Class<T> classType, java.lang.Class<U> defaultType) throws java.lang.InstantiationException, java.lang.IllegalAccessException
framework - AtmosphereFrameworkclassType - The class' type to be createddefaultType - a class to be created @return an instance of Tjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionCopyright © 2018. All Rights Reserved.