org.atmosphere.cpr
Class AtmosphereFramework.DefaultAtmosphereObjectFactory

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereFramework.DefaultAtmosphereObjectFactory
All Implemented Interfaces:
AtmosphereObjectFactory
Enclosing class:
AtmosphereFramework

public static class AtmosphereFramework.DefaultAtmosphereObjectFactory
extends Object
implements AtmosphereObjectFactory


Constructor Summary
AtmosphereFramework.DefaultAtmosphereObjectFactory()
           
 
Method Summary
<T> T
newClassInstance(AtmosphereFramework framework, Class<T> classToInstantiate)
          Delegate the creation of Object to the underlying object provider like Spring, Guice, etc.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtmosphereFramework.DefaultAtmosphereObjectFactory

public AtmosphereFramework.DefaultAtmosphereObjectFactory()
Method Detail

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 - AtmosphereFramework
classToInstantiate - 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.