net.ontopia.topicmaps.impl.utils
Class AttachManager

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.AbstractAttachManager
      extended by net.ontopia.topicmaps.impl.utils.AttachManager

public class AttachManager
extends AbstractAttachManager

INTERNAL: A class that configures event listeners for an object tree manager object and figures out which objects have been detached from the object model.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.AbstractAttachManager
AbstractAttachManager.AttachHandlerIF, AbstractAttachManager.DetachHandlerIF
 
Field Summary
protected  java.util.Map<java.lang.Class<?>,AbstractAttachManager.AttachHandlerIF> ahandlers
           
protected  java.util.Map<java.lang.Class<?>,AbstractAttachManager.DetachHandlerIF> dhandlers
           
 
Fields inherited from class net.ontopia.topicmaps.impl.utils.AbstractAttachManager
otree
 
Constructor Summary
AttachManager(ObjectTreeManager otree)
           
 
Method Summary
 AbstractAttachManager.AttachHandlerIF getAttachHandler(java.lang.Class<?> klass)
          INTERNAL: Creates a new attach handler.
 AbstractAttachManager.DetachHandlerIF getDetachHandler(java.lang.Class<?> klass)
          INTERNAL: Creates a new detach handler.
 
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractAttachManager
clear, getAssociationAttachHandler, getAssociationDetachHandler, getAssociationRoleAttachHandler, getAssociationRoleDetachHandler, getAttachedObjects, getDetachedObjects, getOccurrenceAttachHandler, getOccurrenceDetachHandler, getTopicAttachHandler, getTopicDetachHandler, getTopicNameAttachHandler, getTopicNameDetachHandler, getVariantNameAttachHandler, getVariantNameDetachHandler, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ahandlers

protected java.util.Map<java.lang.Class<?>,AbstractAttachManager.AttachHandlerIF> ahandlers

dhandlers

protected java.util.Map<java.lang.Class<?>,AbstractAttachManager.DetachHandlerIF> dhandlers
Constructor Detail

AttachManager

public AttachManager(ObjectTreeManager otree)
Method Detail

getAttachHandler

public AbstractAttachManager.AttachHandlerIF getAttachHandler(java.lang.Class<?> klass)
Description copied from class: AbstractAttachManager
INTERNAL: Creates a new attach handler. This method can be overridden in order to change the behaviour.

Specified by:
getAttachHandler in class AbstractAttachManager

getDetachHandler

public AbstractAttachManager.DetachHandlerIF getDetachHandler(java.lang.Class<?> klass)
Description copied from class: AbstractAttachManager
INTERNAL: Creates a new detach handler. This method can be overridden in order to change the behaviour.

Specified by:
getDetachHandler in class AbstractAttachManager


Copyright © 2000-2012 Ontopia.