org.jacorb.notification
Class EventTypeSet

java.lang.Object
  extended byorg.jacorb.notification.EventTypeSet
Direct Known Subclasses:
CallbackManager, OfferManager, SubscriptionManager

public abstract class EventTypeSet
extends java.lang.Object

Utility class that manages Sets of EventTypes. EventTypes can be added and removed. this class will calculate recalculate its internal Set and notify its listeners if its state has changed.

Version:
$Id: EventTypeSet.java,v 1.11 2005/10/02 15:18:39 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
protected static EventType[] EMPTY_EVENT_TYPE
           
 
Constructor Summary
EventTypeSet()
           
 
Method Summary
protected abstract  void actionSetChanged(EventType[] added, EventType[] removed)
           
 void changeSet(EventType[] added, EventType[] removed)
           
protected  EventType[] getAllTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_EVENT_TYPE

protected static final EventType[] EMPTY_EVENT_TYPE
Constructor Detail

EventTypeSet

public EventTypeSet()
Method Detail

changeSet

public void changeSet(EventType[] added,
                      EventType[] removed)

actionSetChanged

protected abstract void actionSetChanged(EventType[] added,
                                         EventType[] removed)

getAllTypes

protected EventType[] getAllTypes()