Package org.atmosphere.inject
Class BroadcasterIntrospector
java.lang.Object
org.atmosphere.inject.InjectIntrospectorAdapter<Broadcaster>
org.atmosphere.inject.BroadcasterIntrospector
- All Implemented Interfaces:
Injectable,InjectIntrospector
Broadcaster and Named injection support.- Author:
- Jeanfrancois Arcand
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.atmosphere.inject.InjectIntrospector
InjectIntrospector.WHEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of the TvoidintrospectField(Class clazz, Field f) Introspect the fieldbooleanReturn true if this class support injection of this type.Methods inherited from class org.atmosphere.inject.InjectIntrospectorAdapter
injectable, introspectMethod
-
Constructor Details
-
BroadcasterIntrospector
public BroadcasterIntrospector()
-
-
Method Details
-
supportedType
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
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
Description copied from interface:InjectIntrospectorIntrospect the field- Specified by:
introspectFieldin interfaceInjectIntrospector- Overrides:
introspectFieldin classInjectIntrospectorAdapter<Broadcaster>- Parameters:
clazz-f- the field
-