org.atmosphere.cpr
Class AtmosphereFramework.DefaultAtmosphereObjectFactory
java.lang.Object
org.atmosphere.cpr.AtmosphereFramework.DefaultAtmosphereObjectFactory
- All Implemented Interfaces:
- AtmosphereObjectFactory
- Enclosing class:
- AtmosphereFramework
public static class AtmosphereFramework.DefaultAtmosphereObjectFactory
- extends Object
- implements AtmosphereObjectFactory
AtmosphereFramework.DefaultAtmosphereObjectFactory
public AtmosphereFramework.DefaultAtmosphereObjectFactory()
toString
public String toString()
- Overrides:
toString in class Object
newClassInstance
public <T,U extends T> U newClassInstance(AtmosphereFramework framework,
Class<T> classType,
Class<U> defaultType)
throws InstantiationException,
IllegalAccessException
- Description copied from interface:
AtmosphereObjectFactory
- Delegate the creation of Object to the underlying object provider like Spring, Guice, etc.
- Specified by:
newClassInstance in interface AtmosphereObjectFactory
- Parameters:
framework - AtmosphereFrameworkclassType - The class' type to be createddefaultType - a class to be created @return an instance of T
- Throws:
InstantiationException
IllegalAccessException
Copyright © 2014. All Rights Reserved.