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()
newClassInstance
public <T> T newClassInstance(AtmosphereFramework framework,
Class<T> classToInstantiate)
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
- Type Parameters:
T - The Class- Parameters:
framework - AtmosphereFrameworkclassToInstantiate - a class to be created
- Returns:
- an instance of T
- Throws:
InstantiationException
IllegalAccessException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.