org.milyn.delivery.ordering
Interface Producer

All Superinterfaces:
ContentHandler, Visitor
All Known Implementing Classes:
AbstractDataSource, DirectDataSource, DomModelCreator, JndiDataSource

public interface Producer
extends Visitor

Object Producer interface.

A producer is a Visitor that "produces" a named object that is added to the ExecutionContext for use by a Consumer of some sort. Note that a Visitor does not qualify as a producer just because it "produces" something. It is only a producer if it produces something that is added to the ExecutionContext for use by a Consumer.

The Producer/Consumer interfaces allows us to order the execution of multiple Visitor instances, targetted at the same element selector, based on what the Visitor produces and/or consumes.

Since:
1.2
Author:
tom.fennelly@jboss.com
See Also:
Consumer

Method Summary
 Set<? extends Object> getProducts()
          Get the set of products produced by this producer instance.
 

Method Detail

getProducts

Set<? extends Object> getProducts()
Get the set of products produced by this producer instance.

Returns:
The set the set of products produced by this producer instance.


Copyright © 2009. All Rights Reserved.