org.apache.openjpa.event
Class BrokerFactoryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.openjpa.event.BrokerFactoryEvent
All Implemented Interfaces:
Serializable

public class BrokerFactoryEvent
extends EventObject

Event fired when a BrokerFactory is created.

Since:
1.0.0
See Also:
Serialized Form

Field Summary
static int BROKER_FACTORY_CREATED
          Fired after a BrokerFactory has been fully created.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BrokerFactoryEvent(BrokerFactory brokerFactory, int eventType)
           
 
Method Summary
 BrokerFactory getBrokerFactory()
           
 int getEventType()
           
 
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
 

Field Detail

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
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.


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.