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 TypeMethodDescriptionIfpush
was called on this CreationalContext, returns the pushed object.boolean
Returns whetherCreationalContext.push(Object)
was called on this CreationalContext.boolean
Returns 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
push
was called, otherwisenull
-
isReleaseCalled
boolean isReleaseCalled()Returns whetherCreationalContext.release()
was called on this CreationalContext.- Returns:
- whether
CreationalContext.release()
was called on this CreationalContext.
-