It would be useful for configuration elements to be able to receive notification when a BrokerFactory is created, so that third-party product derivations can better integrate into the BrokerFactory lifecycle. Currently, product derivations can operate on the Configuration instance, but not the BrokerFactory itself.
Description
It would be useful for configuration elements to be able to receive notification when a BrokerFactory is created, so that third-party product derivations can better integrate into the BrokerFactory lifecycle. Currently, product derivations can operate on the Configuration instance, but not the BrokerFactory itself.
OPENJPA-262. Added test case for lifecycle and tx registries in BrokerFactories. Also discovered that BEFORE_PERSIST listeners (and possibly a couple of others) were not being invoked; fixed-by-inspection and simplified the registration of types in the lifecycle event handler.