no.feide.moria.store
Class MoriaStoreFactory

java.lang.Object
  extended by no.feide.moria.store.MoriaStoreFactory

public final class MoriaStoreFactory
extends java.lang.Object

Class implementing simple factory pattern returning implementations of the MoriaStore interface. Somewhat redundant as we only have one implementation at the moment.

Version:
$Revision: 1.7 $
Author:
Bjørn Ola Smievoll <b.o@smievoll.no>

Constructor Summary
private MoriaStoreFactory()
          Default private constructor.
 
Method Summary
static MoriaStore createMoriaStore()
          Static factory method creates an instance of MoriaStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoriaStoreFactory

private MoriaStoreFactory()
Default private constructor.

Method Detail

createMoriaStore

public static MoriaStore createMoriaStore()
                                   throws MoriaStoreException
Static factory method creates an instance of MoriaStore.

Returns:
Instance of a MoriaStore implementation
Throws:
MoriaStoreException - the constructor of returned implementation may throw this


Copyright © 2001-2006 UNINETT FAS. All Rights Reserved.