Package org.jboss.cdi.tck.spi
Interface CreationalContexts.Inspectable<T>
- Type Parameters:
T- type of the instances
- All Superinterfaces:
jakarta.enterprise.context.spi.CreationalContext<T>
- Enclosing interface:
- CreationalContexts
public static interface CreationalContexts.Inspectable<T>
extends jakarta.enterprise.context.spi.CreationalContext<T>
A CreationalContext that can be inspected.
-
Method Summary
Modifier and TypeMethodDescriptionIfpushwas called on this CreationalContext, returns the pushed object.booleanReturns whetherCreationalContext.push(Object)was called on this CreationalContext.booleanReturns whetherCreationalContext.release()was called on this CreationalContext.Methods inherited from interface jakarta.enterprise.context.spi.CreationalContext
push, release
-
Method Details
-
isPushCalled
boolean isPushCalled()Returns whetherCreationalContext.push(Object)was called on this CreationalContext.- Returns:
- whether
CreationalContext.push(Object)was called on this CreationalContext.
-
getLastBeanPushed
Object getLastBeanPushed()- Returns:
- the pushed object if
pushwas called, otherwisenull
-
isReleaseCalled
boolean isReleaseCalled()Returns whetherCreationalContext.release()was called on this CreationalContext.- Returns:
- whether
CreationalContext.release()was called on this CreationalContext.
-