Package org.atmosphere.inject
Class BroadcasterIntrospector
- java.lang.Object
-
- org.atmosphere.inject.InjectIntrospectorAdapter<Broadcaster>
-
- org.atmosphere.inject.BroadcasterIntrospector
-
- All Implemented Interfaces:
Injectable,InjectIntrospector
@RequestScoped public class BroadcasterIntrospector extends InjectIntrospectorAdapter<Broadcaster>
BroadcasterandNamedinjection support.- Author:
- Jeanfrancois Arcand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.atmosphere.inject.InjectIntrospector
InjectIntrospector.WHEN
-
-
Constructor Summary
Constructors Constructor Description BroadcasterIntrospector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Broadcasterinjectable(AtmosphereResource r)Returns an instance of the TvoidintrospectField(java.lang.Class clazz, java.lang.reflect.Field f)Introspect the fieldbooleansupportedType(java.lang.reflect.Type t)Return true if this class support injection of this type.-
Methods inherited from class org.atmosphere.inject.InjectIntrospectorAdapter
injectable, 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<Broadcaster>- Parameters:
t- the field- Returns:
- true if this class support injection
-
injectable
public Broadcaster injectable(AtmosphereResource r)
Description copied from interface:InjectIntrospectorReturns an instance of the T- Specified by:
injectablein interfaceInjectIntrospector- Overrides:
injectablein classInjectIntrospectorAdapter<Broadcaster>- Parameters:
r- theAtmosphereResource- Returns:
- Return an instance of the T
-
introspectField
public void introspectField(java.lang.Class clazz, java.lang.reflect.Field f)Description copied from interface:InjectIntrospectorIntrospect the field- Specified by:
introspectFieldin interfaceInjectIntrospector- Overrides:
introspectFieldin classInjectIntrospectorAdapter<Broadcaster>f- the field
-
-