|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.SameStoreFactory
public class SameStoreFactory
PUBLIC: A store factory that always returns the store given to it via its constructor. This class is useful when the intention is that the same store object is always to be used.
Field Summary | |
---|---|
protected TopicMapStoreIF |
store
|
Constructor Summary | |
---|---|
SameStoreFactory(TopicMapStoreIF store)
PUBLIC: Creates a TopicMapStoreFactoryIF which persistently references the given store |
Method Summary | |
---|---|
TopicMapStoreIF |
createStore()
PUBLIC: Returns a topicmap store, which is the store given to the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TopicMapStoreIF store
Constructor Detail |
---|
public SameStoreFactory(TopicMapStoreIF store)
store
- the given topicMapStoreFactoryIFMethod Detail |
---|
public TopicMapStoreIF createStore()
createStore
in interface TopicMapStoreFactoryIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |