Framework Professional Edition Package


org.mbs.eventadmin
Class EventPool

java.lang.Object
  extended by org.mbs.eventadmin.EventPool

public class EventPool
extends java.lang.Object

Author:
ivand

Constructor Summary
EventPool()
           
 
Method Summary
static void allPostFinish(Event event)
          Called by EventAdmin to notify that the Event is free (from postEvent)
static Event getEvent(java.lang.String topic, java.util.Dictionary properties, EventLocker eventLocker)
          Used to optain Event object from the pool!
static void releaseEvent(Event event, EventLocker eventLocker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventPool

public EventPool()
Method Detail

getEvent

public static Event getEvent(java.lang.String topic,
                             java.util.Dictionary properties,
                             EventLocker eventLocker)
Used to optain Event object from the pool!

Parameters:
topic - The topic of desired object.
properties - The properties of desired object.
locker - The locker object (implementation of EventLocker)
Returns:
Wanted Event object from the pool.

releaseEvent

public static void releaseEvent(Event event,
                                EventLocker eventLocker)
Parameters:
event -
locker -

allPostFinish

public static void allPostFinish(Event event)
Called by EventAdmin to notify that the Event is free (from postEvent)

Parameters:
event -

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved