Package org.atmosphere.inject
Interface Injectable<T>
- Type Parameters:
T- the Object to inject.
- All Known Subinterfaces:
InjectIntrospector<T>
- All Known Implementing Classes:
AtmosphereConfigInjectable,AtmosphereFrameworkInjectable,AtmosphereRequestIntrospector,AtmosphereResourceEventIntrospector,AtmosphereResourceFactoryInjectable,AtmosphereResourceIntrospector,AtmosphereResourceSessionFactoryInjectable,AtmosphereResponseIntrospector,BroadcasterFactoryInjectable,BroadcasterIntrospector,InjectIntrospectorAdapter,MetaBroadcasterInjectable,PathParamIntrospector,PostConstructIntrospector,WebSocketFactoryInjectable
public interface Injectable<T>
An Injectable class allow the
InjectableObjectFactory to assign a value to a field annotated with the
Inject annotation.- Author:
- Jeanfrancois Arcand
-
Method Summary
Modifier and TypeMethodDescriptioninjectable(AtmosphereConfig config) Returns an instance of the TbooleanReturn true if this class support injection of this type.
-
Method Details
-
supportedType
Return true if this class support injection of this type.- Parameters:
t- the field- Returns:
- true if this class support injection
-
injectable
Returns an instance of the T- Parameters:
config- theAtmosphereConfig- Returns:
- Return an instance of the T
-