Package org.atmosphere.inject
Class AtmosphereResourceIntrospector
- java.lang.Object
-
- org.atmosphere.inject.InjectIntrospectorAdapter<AtmosphereResource>
-
- org.atmosphere.inject.AtmosphereResourceIntrospector
-
- All Implemented Interfaces:
Injectable,InjectIntrospector
@RequestScoped public class AtmosphereResourceIntrospector extends InjectIntrospectorAdapter<AtmosphereResource>
AtmosphereResource} injection implementation support.- Author:
- Jeanfrancois Arcand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.atmosphere.inject.InjectIntrospector
InjectIntrospector.WHEN
-
-
Constructor Summary
Constructors Constructor Description AtmosphereResourceIntrospector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtmosphereResourceinjectable(AtmosphereResource r)Returns an instance of the TbooleansupportedType(java.lang.reflect.Type t)Return true if this class support injection of this type.-
Methods inherited from class org.atmosphere.inject.InjectIntrospectorAdapter
injectable, introspectField, introspectMethod
-
-
-
-
Method Detail
-
supportedType
public boolean supportedType(java.lang.reflect.Type t)
Description copied from interface:InjectableReturn true if this class support injection of this type.- Specified by:
supportedTypein interfaceInjectable- Overrides:
supportedTypein classInjectIntrospectorAdapter<AtmosphereResource>- Parameters:
t- the field- Returns:
- true if this class support injection
-
injectable
public AtmosphereResource injectable(AtmosphereResource r)
Description copied from interface:InjectIntrospectorReturns an instance of the T- Specified by:
injectablein interfaceInjectIntrospector- Overrides:
injectablein classInjectIntrospectorAdapter<AtmosphereResource>- Parameters:
r- theAtmosphereResource- Returns:
- Return an instance of the T
-
-