net.ontopia.topicmaps.impl.basic
Class InMemoryTopicMapStore

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
      extended by net.ontopia.topicmaps.impl.basic.InMemoryTopicMapStore
All Implemented Interfaces:
TopicMapStoreIF
Direct Known Subclasses:
RemoteTopicMapStore

public class InMemoryTopicMapStore
extends AbstractTopicMapStore

PUBLIC: The in-memory TopicMapStoreIF implementation.


Field Summary
protected  boolean maintainFulltextIndex
           
protected  TopicMapTransactionIF transaction
           
 
Fields inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
base_address, closed, deleted, open, readonly, readonlySet, reference, topic_listeners
 
Fields inherited from interface net.ontopia.topicmaps.core.TopicMapStoreIF
IN_MEMORY_IMPLEMENTATION, RDBMS_IMPLEMENTATION
 
Constructor Summary
InMemoryTopicMapStore()
           
 
Method Summary
 void close()
          PUBLIC: Closes the store and aborts the transaction if active.
 void close(boolean returnStore)
           
 EventManagerIF getEventManager()
           
 int getImplementation()
          PUBLIC: Returns the topic map implementation identifier.
 java.lang.String getProperty(java.lang.String propertyName)
          PUBLIC: Returns the value of the specified topic map store property.
 TopicMapTransactionIF getTransaction()
           
 boolean isTransactional()
          PUBLIC: Returns true if the store supports transactions.
 void setBaseAddress(LocatorIF base_address)
          EXPERIMENTAL: Sets the persistent base address of the store.
 
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
abort, commit, delete, getBaseAddress, getReference, getTopicMap, isOpen, isReadOnly, open, setReadOnly, setReference, setTopicListeners, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transaction

protected TopicMapTransactionIF transaction

maintainFulltextIndex

protected boolean maintainFulltextIndex
Constructor Detail

InMemoryTopicMapStore

public InMemoryTopicMapStore()
Method Detail

getImplementation

public int getImplementation()
Description copied from interface: TopicMapStoreIF
PUBLIC: Returns the topic map implementation identifier.

Returns:
TopicMapStoreIF.IN_MEMORY_IMPLEMENTATION or TopicMapStoreIF.RDBMS_IMPLEMENTATION flags.

isTransactional

public boolean isTransactional()
Description copied from interface: TopicMapStoreIF
PUBLIC: Returns true if the store supports transactions.

Returns:
Boolean: true if transactional, false if not.

getTransaction

public TopicMapTransactionIF getTransaction()
Specified by:
getTransaction in class AbstractTopicMapStore

setBaseAddress

public void setBaseAddress(LocatorIF base_address)
Description copied from interface: TopicMapStoreIF
EXPERIMENTAL: Sets the persistent base address of the store.


close

public void close()
Description copied from interface: TopicMapStoreIF
PUBLIC: Closes the store and aborts the transaction if active.


close

public void close(boolean returnStore)
Specified by:
close in class AbstractTopicMapStore

getProperty

public java.lang.String getProperty(java.lang.String propertyName)
Description copied from interface: TopicMapStoreIF
PUBLIC: Returns the value of the specified topic map store property.


getEventManager

public EventManagerIF getEventManager()
Specified by:
getEventManager in class AbstractTopicMapStore


Copyright © 2000-2012 Ontopia.