org.atmosphere.cdi
Class CDIObjectFactory
java.lang.Object
org.atmosphere.cdi.CDIObjectFactory
- All Implemented Interfaces:
- org.atmosphere.cpr.AtmosphereObjectFactory
public class CDIObjectFactory
- extends Object
- implements org.atmosphere.cpr.AtmosphereObjectFactory
CDI support for injecting object
- Author:
- Jeanfrancois Arcand
CDIObjectFactory
public CDIObjectFactory()
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.