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.
    • Field Detail

      • PROPERTY_NAME

        static final String PROPERTY_NAME
    • Method Detail

      • 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