story.flashback.repositories
Class RepositoryFactory

java.lang.Object
  extended by story.flashback.repositories.RepositoryFactory
All Implemented Interfaces:
RepositoryFactoryInterface

public class RepositoryFactory
extends java.lang.Object
implements RepositoryFactoryInterface


Constructor Summary
RepositoryFactory()
           
 
Method Summary
 NodeRepositoryConfig getConfig(RepositoryType type)
          Given a certain repository type, return a configuration object
 NodeTypeSet validNodeTypes(RepositoryType type)
          Given a certain repository type, return a set of the types of nodes which are valid for that repository.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryFactory

public RepositoryFactory()
Method Detail

getConfig

public NodeRepositoryConfig getConfig(RepositoryType type)
                               throws Scheherexception
Description copied from interface: RepositoryFactoryInterface
Given a certain repository type, return a configuration object

Specified by:
getConfig in interface RepositoryFactoryInterface
Throws:
Scheherexception

validNodeTypes

public NodeTypeSet validNodeTypes(RepositoryType type)
                           throws Scheherexception
Description copied from interface: RepositoryFactoryInterface
Given a certain repository type, return a set of the types of nodes which are valid for that repository.

Specified by:
validNodeTypes in interface RepositoryFactoryInterface
Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.