net.sf.doolin.util.factory
Class InstanceDataFactory<T>

java.lang.Object
  extended by net.sf.doolin.util.factory.InstanceDataFactory<T>
All Implemented Interfaces:
DataFactory<T>

public class InstanceDataFactory<T>
extends Object
implements DataFactory<T>


Constructor Summary
InstanceDataFactory(T instance)
           
 
Method Summary
 T create(Object context)
          Creates an arbitrary object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceDataFactory

public InstanceDataFactory(T instance)
Method Detail

create

public T create(Object context)
Description copied from interface: DataFactory
Creates an arbitrary object.

Specified by:
create in interface DataFactory<T>
Parameters:
context - Context of creation
Returns:
Created object.


Copyright © 2011. All Rights Reserved.