| Package | Description | 
|---|---|
| javax.enterprise.context.spi | The custom context SPI. | 
| javax.enterprise.inject.spi | The portable extension integration SPI. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AlterableContext. destroy(Contextual<?> contextual)
 Destroy the existing contextual instance. | 
| <T> T | Context. get(Contextual<T> contextual)Return an existing instance of a certain contextual type or a null value. | 
| <T> T | Context. get(Contextual<T> contextual,
   CreationalContext<T> creationalContext)Return an existing instance of certain contextual type or create a new instance by calling
  create(CreationalContext)and return the new instance. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Bean<T>
 Represents an enabled bean. | 
| interface  | Decorator<T>
 Represents an enabled decorator. | 
| interface  | Interceptor<T>
 Represents an enabled interceptor. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> CreationalContext<T> | BeanManager. createCreationalContext(Contextual<T> contextual)Obtain an instance of a  CreationalContextfor the given
 contextual type, or for a non-contextual object. | 
Comments to: cdi-dev@eclipse.org.
 Copyright © 2019 Eclipse Foundation.
 Use is subject to license terms.