org.zeroexchange.resource.create
Interface ResourcesFactory

All Known Implementing Classes:
DefaultResourcesFactory

public interface ResourcesFactory

Service provides handy methods for the resource creation.

Author:
black

Method Summary
<T extends Resource>
T
createResource(Class<T> resourceSubclass, Integer ownerId, Integer contractId)
          Creates resource of the specified type.
 

Method Detail

createResource

<T extends Resource> T createResource(Class<T> resourceSubclass,
                                      Integer ownerId,
                                      Integer contractId)
Creates resource of the specified type.



Copyright © 2013. All Rights Reserved.