com.agfa.hap.sdo
Interface ObjectFactory<T>


public interface ObjectFactory<T>


Method Summary
 T create(Type type)
           
 T newProxy(Type type, java.lang.Object identity)
          Create a new proxy.
 

Method Detail

create

T create(Type type)
Returns:
A newly created instance of which the class corresponds to the given type.
See Also:
DataMapper.getCorrespondingType(Class)

newProxy

T newProxy(Type type,
           java.lang.Object identity)
Create a new proxy. The type is passed as parameter as this accessor might be usable for multiple types.



Copyright © 2007. All Rights Reserved.