public static class AtmosphereFramework.DefaultAtmosphereObjectFactory extends java.lang.Object implements AtmosphereObjectFactory
| Constructor and Description |
|---|
DefaultAtmosphereObjectFactory() |
| 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.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic <T,U extends T> U newClassInstance(AtmosphereFramework framework, java.lang.Class<T> classType, java.lang.Class<U> defaultType) throws java.lang.InstantiationException, java.lang.IllegalAccessException
AtmosphereObjectFactorynewClassInstance in interface AtmosphereObjectFactoryframework - 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.