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 ClassesModifier and TypeInterfaceDescriptionstatic interface
A CreationalContext that can be inspected. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(jakarta.enterprise.context.spi.Contextual<T> contextual) Creates an inspectable CreationalContext for given Contextual.
-
Field Details
-
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 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
-