org.entityfs.support.lang
Interface ObjectFactory<T>

Type Parameters:
T - The type of objects to return.
All Known Implementing Classes:
ByteArrayInputStreamFactory, ReadableFileInputStreamFactory

public interface ObjectFactory<T>

This is the interface of a generic object factory.

Since:
1.0
Author:
Karl Gustafsson

Method Summary
 T create()
          Create a new instance of the object.
 

Method Detail

create

T create()
Create a new instance of the object.

Returns:
The new instance.