org.zeroexchange.resource.create
Class DefaultResourcesFactory

java.lang.Object
  extended by org.zeroexchange.resource.create.DefaultResourcesFactory
All Implemented Interfaces:
ResourcesFactory

public class DefaultResourcesFactory
extends Object
implements ResourcesFactory

Author:
black

Constructor Summary
DefaultResourcesFactory()
           
 
Method Summary
<T extends Resource>
T
createResource(Class<T> resourceSubclass, Integer ownerId, Integer contractId)
          Creates resource of the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResourcesFactory

public DefaultResourcesFactory()
Method Detail

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.