Package org.atmosphere.inject
Class PathParamIntrospector
- All Implemented Interfaces:
Injectable,InjectIntrospector
@RequestScoped(PathParam.class)
public class PathParamIntrospector
extends InjectIntrospectorAdapter<String>
PathParam injection support.- Author:
- Jeanfrancois Arcand
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.atmosphere.inject.InjectIntrospector
InjectIntrospector.WHEN -
Field Summary
Fields -
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
-
Field Details
-
pathLocal
-
-
Constructor Details
-
PathParamIntrospector
public PathParamIntrospector()
-
-
Method Details
-
supportedType
Description copied from interface:InjectableReturn true if this class support injection of this type.- Specified by:
supportedTypein interfaceInjectable- Overrides:
supportedTypein classInjectIntrospectorAdapter<String>- 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<String>- 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<String>- Parameters:
clazz-f- the field
-