org.apache.ojb.broker
Class PersistenceBrokerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.ojb.broker.util.event.OjbEvent
          extended by org.apache.ojb.broker.PersistenceBrokerEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PBLifeCycleEvent, PBStateEvent

public class PersistenceBrokerEvent
extends org.apache.ojb.broker.util.event.OjbEvent

Base class for persistence broker events.

See Also:
Serialized Form

Constructor Summary
PersistenceBrokerEvent(PersistenceBroker broker)
          Creates a new event instance.
 
Method Summary
 PersistenceBroker getTriggeringBroker()
          Convenience method for EventObject.getSource().
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceBrokerEvent

public PersistenceBrokerEvent(PersistenceBroker broker)
Creates a new event instance.

Parameters:
broker - The broker
Method Detail

getTriggeringBroker

public PersistenceBroker getTriggeringBroker()
Convenience method for EventObject.getSource().

Returns:
The broker where the event originated


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30