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

public interface InjectIntrospector<T> extends Injectable
An Injectable class allow the InjectableObjectFactory to inspect fields and methods before they get injected or executed. This interface supports application scoped
invalid @link
{@link @ApplicationScoped
} and request scoped
invalid @link
{@link @RequestScoped
} injection.
Author:
Jeanfrancois Arcand
  • Method Details

    • introspectField

      void introspectField(Class<T> clazz, Field f)
      Introspect the field
      Parameters:
      clazz -
      f - the field
    • introspectMethod

      void introspectMethod(Method m, Object instance)
      Introspect the method
      Parameters:
      m - the method
      instance - the object to invoke the method on
    • injectable

      T injectable(AtmosphereResource resource)
      Returns an instance of the T
      Parameters:
      resource - the AtmosphereResource
      Returns:
      Return an instance of the T