Package org.apache.openjpa.event

Examples of org.apache.openjpa.event.BrokerFactoryEvent


                _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            }
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } catch (RuntimeException e) {
            // if the db connection is not available we need to reset the state
            _readOnly = false;
            throw e;
View Full Code Here


            if (_conf.isInitializeEagerly())
              _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

            _conf.instantiateAll();

            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

            _conf.instantiateAll();

            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

            if (_conf.isInitializeEagerly())
              _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

            if (_conf.isInitializeEagerly())
              _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

                _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            }
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } catch (RuntimeException e) {
            // if the db connection is not available we need to reset the state
            _readOnly = false;
            throw e;
View Full Code Here

            if (_conf.isInitializeEagerly())
              _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

            _conf.instantiateAll();

            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

            if (_conf.isInitializeEagerly())
              _conf.setReadOnly(Configuration.INIT_STATE_FROZEN);
            // fire an event for all the broker factory listeners
            // registered on the configuration.
            _conf.getBrokerFactoryEventManager().fireEvent(
                new BrokerFactoryEvent(this,
                    BrokerFactoryEvent.BROKER_FACTORY_CREATED));
        } finally {
            unlock();
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.openjpa.event.BrokerFactoryEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.