org.lexevs.registry.event
Class RegistryEventSupport

java.lang.Object
  extended by org.lexevs.registry.event.RegistryEventSupport
Direct Known Subclasses:
DatabaseRegistry

public class RegistryEventSupport
extends java.lang.Object

The Class RegistryEventSupport.

Author:
Kevin Peterson

Constructor Summary
RegistryEventSupport()
           
 
Method Summary
 void addRegistryListener(RegistryListener listener)
          Adds the registry listener.
 void fireTagUpdateEvent(java.lang.String previousTag, RegistryEntry entry)
          Fire tag update event.
 java.util.List<RegistryListener> getRegistryListeners()
          Gets the registry listeners.
 void setRegistryListeners(java.util.List<RegistryListener> registryListeners)
          Sets the registry listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryEventSupport

public RegistryEventSupport()
Method Detail

fireTagUpdateEvent

public void fireTagUpdateEvent(java.lang.String previousTag,
                               RegistryEntry entry)
Fire tag update event.

Parameters:
previousTag - the previous tag
entry - the entry

addRegistryListener

public void addRegistryListener(RegistryListener listener)
Adds the registry listener.

Parameters:
listener - the listener

getRegistryListeners

public java.util.List<RegistryListener> getRegistryListeners()
Gets the registry listeners.

Returns:
the registry listeners

setRegistryListeners

public void setRegistryListeners(java.util.List<RegistryListener> registryListeners)
Sets the registry listeners.

Parameters:
registryListeners - the new registry listeners

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.