Interface ResourceInjection<T>

Type Parameters:
T - the resource type

public interface ResourceInjection<T>
High-level representation of a resource field and setter method.
Author:
Martin Kouba
  • Method Summary

    Modifier and Type
    Method
    Description
    getResourceReference(jakarta.enterprise.context.spi.CreationalContext<?> ctx)
     
    void
    injectResourceReference(Object declaringInstance, jakarta.enterprise.context.spi.CreationalContext<?> ctx)
     
  • Method Details

    • getResourceReference

      T getResourceReference(jakarta.enterprise.context.spi.CreationalContext<?> ctx)
      Parameters:
      ctx -
      Returns:
      the resource reference for this injection point
      See Also:
      • ResourceReference
      • ResourceReferenceFactory
    • injectResourceReference

      void injectResourceReference(Object declaringInstance, jakarta.enterprise.context.spi.CreationalContext<?> ctx)
      Parameters:
      declaringInstance -
      ctx -