Package org.jboss.cdi.tck.spi
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
CreationalContexts.Inspectable<T>
A CreationalContext that can be inspected.
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> CreationalContexts.Inspectable<T>
create(jakarta.enterprise.context.spi.Contextual<T> contextual)
Creates an inspectable CreationalContext for given Contextual.
-
-
-
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 toBeanContainer.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
-
-