org.apache.openjpa.event
Class BrokerFactoryEvent
java.lang.Object
java.util.EventObject
org.apache.openjpa.event.BrokerFactoryEvent
- All Implemented Interfaces:
- java.io.Serializable
public class BrokerFactoryEvent
- extends java.util.EventObject
Event fired when a BrokerFactory
is created.
- Since:
- 1.0.0
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BROKER_FACTORY_CREATED
public static final int BROKER_FACTORY_CREATED
- Fired after a
BrokerFactory
has been fully created.
This happens after the factory has been made read-only.
- See Also:
- Constant Field Values
BrokerFactoryEvent
public BrokerFactoryEvent(BrokerFactory brokerFactory,
int eventType)
getBrokerFactory
public BrokerFactory getBrokerFactory()
getEventType
public int getEventType()
- Returns:
- one of the event type codes defined in this event class.