- All Superinterfaces:
Aggregate
- All Known Implementing Classes:
InterceptingProducer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
Fields inherited from interface org.microbean.bean.Aggregate
EMPTY_ASSIGNMENTS, EMPTY_DEPENDENCIES -
Method Summary
Methods inherited from interface org.microbean.bean.Aggregate
assign, dependencies
-
Method Details
-
dispose
-
produce
-
produce
Produces a new contextual instance and returns it, possibly (often) making use of the supplied, dependent, contextual references.Implementations of this method must not call
produce(Request)or an infinite loop may result.- Parameters:
assignments- aSequencedSetofAssignments thisProducerneeds to create the contextual instance; must not benull- Returns:
- a new contextual instance, or
null - Throws:
NullPointerException- ifdependentContextualReferencesisnull
-