org.atmosphere.guice
Class GuiceObjectFactory
java.lang.Object
org.atmosphere.guice.GuiceObjectFactory
- All Implemented Interfaces:
- org.atmosphere.cpr.AtmosphereObjectFactory
public class GuiceObjectFactory
- extends Object
- implements org.atmosphere.cpr.AtmosphereObjectFactory
An AtmosphereObjectFactory for Guice
- Author:
- Jean-Francois Arcand
GuiceObjectFactory
public GuiceObjectFactory()
newClassInstance
public <T,U extends T> U newClassInstance(org.atmosphere.cpr.AtmosphereFramework framework,
Class<T> classType,
Class<U> classToInstantiate)
throws InstantiationException,
IllegalAccessException
- Specified by:
newClassInstance in interface org.atmosphere.cpr.AtmosphereObjectFactory
- Throws:
InstantiationException
IllegalAccessException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.