org.jjoost.util
Interface Factory<E>

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Factories.CastFactory, Factories.SimpleObjectFactory

public interface Factory<E>
extends java.io.Serializable

This interface defines an arbitrary object factory that requires no arguments.

Author:
b.elliottsmith

Method Summary
 E create()
          Returns an object of type E.
 

Method Detail

create

E create()
Returns an object of type E. This method should be thread-safe.

Returns:
an object of type E