public static class AtmosphereFramework.DefaultAtmosphereObjectFactory extends Object implements AtmosphereObjectFactory
| Constructor and Description |
|---|
AtmosphereFramework.DefaultAtmosphereObjectFactory() |
| 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.
|
String |
toString() |
public AtmosphereFramework.DefaultAtmosphereObjectFactory()
public <T,U extends T> U newClassInstance(AtmosphereFramework framework, Class<T> classType, Class<U> defaultType) throws InstantiationException, IllegalAccessException
AtmosphereObjectFactorynewClassInstance in interface AtmosphereObjectFactoryframework - AtmosphereFrameworkclassType - The class' type to be createddefaultType - a class to be created @return an instance of TInstantiationExceptionIllegalAccessExceptionCopyright © 2014. All Rights Reserved.