Package 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 aBrokerFactory
is created.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BROKER_FACTORY_CREATED
Fired after aBrokerFactory
has been fully created.
-
Constructor Summary
Constructors Constructor Description BrokerFactoryEvent(BrokerFactory brokerFactory, int eventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrokerFactory
getBrokerFactory()
int
getEventType()
-
-
-
Field Detail
-
BROKER_FACTORY_CREATED
public static final int BROKER_FACTORY_CREATED
Fired after aBrokerFactory
has been fully created. This happens after the factory has been made read-only.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BrokerFactoryEvent
public BrokerFactoryEvent(BrokerFactory brokerFactory, int eventType)
-
-
Method Detail
-
getBrokerFactory
public BrokerFactory getBrokerFactory()
-
getEventType
public int getEventType()
- Returns:
- one of the event type codes defined in this event class.
-
-