org.tm4j.vtl
Class LoadableTMImpl
java.lang.Object
org.tm4j.vtl.LoadableTMImpl
- All Implemented Interfaces:
- LoadableTM
- public class LoadableTMImpl
- extends java.lang.Object
- implements LoadableTM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadableTMImpl
public LoadableTMImpl(org.tm4j.topicmap.TopicMapProvider provider,
TopicMapConfig tmConfiguration,
TM4JVelocityConfiguration appConfig)
getTopicMapConfiguration
public TopicMapConfig getTopicMapConfiguration()
- Specified by:
getTopicMapConfiguration in interface LoadableTM
getProvider
public org.tm4j.topicmap.TopicMapProvider getProvider()
- Specified by:
getProvider in interface LoadableTM
getTopicMap
public org.tm4j.topicmap.TopicMap getTopicMap()
- Specified by:
getTopicMap in interface LoadableTM
getIsLoaded
public boolean getIsLoaded()
- Specified by:
getIsLoaded in interface LoadableTM
getSource
public org.tm4j.net.Locator getSource()
- Specified by:
getSource in interface LoadableTM
getFilterChain
public org.tm4j.topicmap.utils.WalkerFilter getFilterChain()
- Specified by:
getFilterChain in interface LoadableTM
getLastFilter
public org.tm4j.topicmap.utils.WalkerFilter getLastFilter()
- Specified by:
getLastFilter in interface LoadableTM
load
public boolean load()
- Specified by:
load in interface LoadableTM
load
public boolean load(javax.servlet.ServletContext servletContext)
- Specified by:
load in interface LoadableTM
unload
public void unload()
- Unloads the underlying topic map, removing it and any associated
indexes from memory.
- Specified by:
unload in interface LoadableTM
getObjectByID
public org.tm4j.topicmap.TopicMapObject getObjectByID(java.lang.String id)
getTopicMapContext
public org.apache.velocity.context.Context getTopicMapContext()
- Specified by:
getTopicMapContext in interface LoadableTM