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 Type
    Method
    Description
    Returns an instance of the T
    boolean
    Return true if this class support injection of this type.
  • Method Details

    • supportedType

      boolean supportedType(Type t)
      Return true if this class support injection of this type.
      Parameters:
      t - the field
      Returns:
      true if this class support injection
    • injectable

      T injectable(AtmosphereConfig config)
      Returns an instance of the T
      Parameters:
      config - the AtmosphereConfig
      Returns:
      Return an instance of the T