Interface SyntheticCreationalContext<T>

All Superinterfaces:
jakarta.enterprise.context.spi.CreationalContext<T>
All Known Implementing Classes:
SyntheticCreationalContextImpl

public interface SyntheticCreationalContext<T> extends jakarta.enterprise.context.spi.CreationalContext<T>
Creational context for synthetic beans.
See Also:
  • Method Details

    • getParams

      Map<String,Object> getParams()
      Returns:
      the build-time parameters
    • getInjectedReference

      <R> R getInjectedReference(Class<R> requiredType, Annotation... qualifiers)
      Obtains a contextual reference for a synthetic injection point.
      Type Parameters:
      R -
      Parameters:
      requiredType -
      qualifiers -
      Returns:
      a contextual reference for the given required type and qualifiers
      Throws:
      IllegalArgumentException - If a corresponding synthetic injection point was not defined
    • getInjectedReference

      <R> R getInjectedReference(jakarta.enterprise.util.TypeLiteral<R> requiredType, Annotation... qualifiers)
      Obtains a contextual reference for a synthetic injection point.
      Type Parameters:
      R -
      Parameters:
      requiredType -
      qualifiers -
      Returns:
      a contextual reference for the given required type and qualifiers
      Throws:
      IllegalArgumentException - If a corresponding synthetic injection point was not defined
    • getInterceptionProxy

      <R> InterceptionProxy<R> getInterceptionProxy()
      Returns an InterceptionProxy for this synthetic bean.
      Returns:
      an InterceptionProxy for this synthetic bean
      Throws:
      IllegalArgumentException - if no InterceptionProxy was registered for this synthetic bean