public interface PersistenceBrokerAware
PBLifeCycleListener
interface
to be notified of persistence broker operations.Modifier and Type | Method and Description |
---|---|
void |
afterDelete(PersistenceBroker broker)
Is called as the last operation after an object was deleted in the underlying
persistence system.
|
void |
afterInsert(PersistenceBroker broker)
Is called as the last operation after an object was inserted into the underlying
persistence system.
|
void |
afterLookup(PersistenceBroker broker)
Is called as the last operation after an object was retrieved from the underlying
persistence system via a call to the
getObjectByXXX() or
getCollectionByXXX() /getIteratorByXXX() methods in
PersistenceBroker . |
void |
afterUpdate(PersistenceBroker broker)
Is called as the last operation after an object was updated in the underlying
persistence system.
|
void |
beforeDelete(PersistenceBroker broker)
Is called as the first operation before an object is deleted in the underlying
persistence system.
|
void |
beforeInsert(PersistenceBroker broker)
Is called as the first operation before an object is inserted into the underlying
persistence system.
|
void |
beforeUpdate(PersistenceBroker broker)
Is called as the first operation before an object is updated in the underlying
persistence system.
|
void beforeUpdate(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker performing the persistence operationPersistenceBrokerException
void afterUpdate(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker performed the persistence operationPersistenceBrokerException
void beforeInsert(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker performing the persistence operationPersistenceBrokerException
void afterInsert(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker performing the persistence operationPersistenceBrokerException
void beforeDelete(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker performing the persistence operationPersistenceBrokerException
void afterDelete(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker performing the persistence operationPersistenceBrokerException
void afterLookup(PersistenceBroker broker) throws PersistenceBrokerException
getObjectByXXX()
or
getCollectionByXXX()
/getIteratorByXXX()
methods in
PersistenceBroker
.broker
- The persistence broker performing the persistence operationPersistenceBrokerException
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30