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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getLastBeanPushed()
Ifpush
was called on this CreationalContext, returns the pushed object.boolean
isPushCalled()
Returns whetherCreationalContext.push(Object)
was called on this CreationalContext.boolean
isReleaseCalled()
Returns whetherCreationalContext.release()
was called on this CreationalContext.
-
-
-
Method Detail
-
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.
-
-