org.zeroexchange.resource.create
Class DefaultResourcesFactory
java.lang.Object
org.zeroexchange.resource.create.DefaultResourcesFactory
- All Implemented Interfaces:
- ResourcesFactory
public class DefaultResourcesFactory
- extends Object
- implements ResourcesFactory
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResourcesFactory
public DefaultResourcesFactory()
createResource
public <T extends Resource> T createResource(Class<T> resourceSubclass,
Integer ownerId,
Integer contractId)
- Creates resource of the specified type.
- Specified by:
createResource
in interface ResourcesFactory
Copyright © 2013. All Rights Reserved.