org.oddjob.values
Interface ValueConsumer<T>

Type Parameters:
T - The type of the value to consume.
All Known Implementing Classes:
ValueQueueService

public interface ValueConsumer<T>

Consumes values set via the value property. Implementations will generally be a service that does something with each value as they are set.

Author:
rob

Method Summary
 void setValue(T value)
          Accept a value.
 

Method Detail

setValue

void setValue(T value)
Accept a value.

Parameters:
value - The value. This should not be null.