com.bea.adapter.event
Interface IPushHandler


public interface IPushHandler

This interface allows the developer to abstract event generation from the concrete PushEventGenerator object. It is the responsiblity of the PushEventGenerator to call 'initialize' and 'cleanUp'.

Author:
Copyright (c) 1998-2000 by BEA Systems, Inc. All Rights Reserved.

Method Summary
 void addPushListener(IPushListener listener)
          adds a push listener to the implementation object
 void cleanUp()
          clean up
 void initialize(EventMetaData metaData)
          This method can be called by the pushevent generator, the implementation object can use this method
 void removePushListener(IPushListener listener)
          removes a push listener from the implementation object
 

Method Detail

addPushListener

void addPushListener(IPushListener listener)
adds a push listener to the implementation object

Parameters:
listener - listener to be added

removePushListener

void removePushListener(IPushListener listener)
removes a push listener from the implementation object

Parameters:
listener - listener to be removed

initialize

void initialize(EventMetaData metaData)
                throws Exception
This method can be called by the pushevent generator, the implementation object can use this method

Parameters:
metaData - wrapper for data passed
Throws:
Exception

cleanUp

void cleanUp()
             throws Exception
clean up

Throws:
Exception