|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ojb.broker.accesslayer.RsIterator.ResourceWrapper
public static class RsIterator.ResourceWrapper
Wraps a RsIterator
instance as WeakReference
.
Constructor Summary | |
---|---|
RsIterator.ResourceWrapper(RsIterator rs)
|
Method Summary | |
---|---|
void |
afterBegin(PBStateEvent event)
Called after a transaction was started. |
void |
afterCommit(PBStateEvent event)
Called after a transaction was comitted. |
void |
afterOpen(PBStateEvent event)
Called after the PersistenceBroker instance was
obtained from the pool. |
void |
afterRollback(PBStateEvent event)
Called after a transaction was rolled back. |
void |
beforeBegin(PBStateEvent event)
Called before a transaction was started. |
void |
beforeClose(PBStateEvent event)
Called before the PersistenceBroker
instance will be returned to the pool. |
void |
beforeCommit(PBStateEvent event)
Called before a transaction will be comitted. |
void |
beforeRollback(PBStateEvent event)
Called before a transaction will be rolled back. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RsIterator.ResourceWrapper(RsIterator rs)
Method Detail |
---|
public void beforeClose(PBStateEvent event)
PBStateListener
PersistenceBroker
instance will be returned to the pool.
beforeClose
in interface PBStateListener
event
- The event objectpublic void beforeRollback(PBStateEvent event)
PBStateListener
beforeRollback
in interface PBStateListener
event
- The event objectpublic void beforeCommit(PBStateEvent event)
PBStateListener
beforeCommit
in interface PBStateListener
event
- The event objectpublic void afterCommit(PBStateEvent event)
PBStateListener
afterCommit
in interface PBStateListener
event
- The event objectpublic void afterRollback(PBStateEvent event)
PBStateListener
afterRollback
in interface PBStateListener
event
- The event objectpublic void afterBegin(PBStateEvent event)
PBStateListener
afterBegin
in interface PBStateListener
event
- The event objectpublic void beforeBegin(PBStateEvent event)
PBStateListener
beforeBegin
in interface PBStateListener
event
- The event objectpublic void afterOpen(PBStateEvent event)
PBStateListener
PersistenceBroker
instance was
obtained from the pool.
afterOpen
in interface PBStateListener
event
- The event object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |