org.apache.ojb.broker
Class PBStateEvent
java.lang.Object
java.util.EventObject
org.apache.ojb.broker.util.event.OjbEvent
org.apache.ojb.broker.PersistenceBrokerEvent
org.apache.ojb.broker.PBStateEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class PBStateEvent
- extends PersistenceBrokerEvent
The PBStateEvent
encapsulates information about
the life-cycle/transaction demarcation of the used PersistenceBroker
instance.
- Version:
- $Id: PBStateEvent.java,v 1.5 2004/04/04 23:53:30 brianm Exp $
- Author:
- Armin Waibel
- See Also:
- Serialized Form
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KEY_BEFORE_CLOSE
public static final int KEY_BEFORE_CLOSE
- See Also:
- Constant Field Values
KEY_BEFORE_BEGIN
public static final int KEY_BEFORE_BEGIN
- See Also:
- Constant Field Values
KEY_BEFORE_COMMIT
public static final int KEY_BEFORE_COMMIT
- See Also:
- Constant Field Values
KEY_BEFORE_ROLLBACK
public static final int KEY_BEFORE_ROLLBACK
- See Also:
- Constant Field Values
KEY_AFTER_BEGIN
public static final int KEY_AFTER_BEGIN
- See Also:
- Constant Field Values
KEY_AFTER_COMMIT
public static final int KEY_AFTER_COMMIT
- See Also:
- Constant Field Values
KEY_AFTER_OPEN
public static final int KEY_AFTER_OPEN
- See Also:
- Constant Field Values
KEY_AFTER_ROLLBACK
public static final int KEY_AFTER_ROLLBACK
- See Also:
- Constant Field Values
PBStateEvent
public PBStateEvent(PersistenceBroker broker,
PBStateEvent.Type eventType)
toString
public java.lang.String toString()
getEventType
public PBStateEvent.Type getEventType()
(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2