Interface Producer<I>

Type Parameters:
I - the contextual instance type
All Superinterfaces:
Aggregate
All Known Implementing Classes:
InterceptingProducer

public interface Producer<I> extends Aggregate
An interface whose implementations produce and commonly initialize contextual instances.

Producers are used to implement Factory instances' create(Creation) and destroy(Object, Destruction) methods.

A Producer normally initializes the contextual instances it produces as part of its produce(Creation) method implementation, but is not required to.

Author:
Laird Nelson
See Also: