Interface CreationalContexts


public interface CreationalContexts
Provides CreationalContext related operations. The TCK porting package must provide an implementation of this interface which is suitable for the target implementation.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A CreationalContext that can be inspected.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(jakarta.enterprise.context.spi.Contextual<T> contextual)
    Creates an inspectable CreationalContext for given Contextual.
  • Field Details

    • PROPERTY_NAME

      static final String PROPERTY_NAME
  • Method Details

    • create

      <T> CreationalContexts.Inspectable<T> create(jakarta.enterprise.context.spi.Contextual<T> contextual)
      Creates an inspectable CreationalContext for given Contextual. This operation is identical to BeanContainer.createCreationalContext(Contextual), except it returns a specialized variant of CreationalContext that can be inspected.
      Type Parameters:
      T - type of the instance
      Parameters:
      contextual - a Contextual for which a CreationalContext should be created
      Returns:
      a CreationalContext that can be inspected