Package org.atmosphere.inject
Interface InjectIntrospector<T>
- Type Parameters:
T- the Object to inject.
- All Superinterfaces:
Injectable
- All Known Implementing Classes:
AtmosphereRequestIntrospector,AtmosphereResourceEventIntrospector,AtmosphereResourceIntrospector,AtmosphereResponseIntrospector,BroadcasterIntrospector,InjectIntrospectorAdapter,PathParamIntrospector,PostConstructIntrospector
An Injectable class allow the
} and request scoped
} injection.
InjectableObjectFactory to inspect fields and methods before they get injected or executed.
This interface supports application scoped
invalid @link
{@link @ApplicationScoped
invalid @link
{@link @RequestScoped
- Author:
- Jeanfrancois Arcand
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioninjectable(AtmosphereResource resource) Returns an instance of the TvoidintrospectField(Class<T> clazz, Field f) Introspect the fieldvoidintrospectMethod(Method m, Object instance) Introspect the methodMethods inherited from interface org.atmosphere.inject.Injectable
injectable, supportedType
-
Method Details
-
introspectField
Introspect the field- Parameters:
clazz-f- the field
-
introspectMethod
Introspect the method- Parameters:
m- the methodinstance- the object to invoke the method on
-
injectable
Returns an instance of the T- Parameters:
resource- theAtmosphereResource- Returns:
- Return an instance of the T
-