|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.server.ejb.SessionBeanImpl oracle.jbo.server.ejb.StatefulSessionBeanImpl
Field Summary |
Fields inherited from class oracle.jbo.server.ejb.SessionBeanImpl |
mApplicationModule |
Constructor Summary | |
StatefulSessionBeanImpl()
|
Method Summary | |
void |
afterBegin()
Implementation of the SessionSynchronization interface. |
void |
afterCompletion(boolean committed)
Implementation of the SessionSynchronization interface. |
void |
beforeCompletion()
Implementation of the SessionSynchronization interface. |
void |
beginTransaction()
If the bean is managing the transaction, starts the bean transaction using the javax.transaction.UserTransaction interface and acquires the jdbc connection from the datasource. |
void |
commitTransaction()
Posts the changes in bc4j cache, commits the transaction associated with the bean and then releases the jdbc connection. |
protected TransactionHandlerFactory |
createTransactionHandlerFactory()
|
void |
resume()
|
void |
rollbackTransaction()
Rollbacks the changes in bc4j cache, rollbacks the transaction associated with the bean and then release the jdbc connection. |
void |
suspend()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatefulSessionBeanImpl()
Method Detail |
public void afterBegin() throws javax.ejb.EJBException
connectToDataSource
for acquiring the jdbc connection.
javax.ejb.EJBException
public void beforeCompletion() throws javax.ejb.EJBException
postChanges
.
If a JboException is thrown by postChanges the transaction is marked for rollback and
the exception is wrapped in java.rmi.RemoteException.
The RemoteException is then thrown back to the container.
javax.ejb.EJBException
Transaction.postChanges()
public void afterCompletion(boolean committed) throws javax.ejb.EJBException
disconnectFromDataSource
for releasing the jdbc connection.
javax.ejb.EJBException
protected TransactionHandlerFactory createTransactionHandlerFactory()
createTransactionHandlerFactory
in class SessionBeanImpl
public void suspend()
public void resume()
public void beginTransaction() throws javax.transaction.NotSupportedException, javax.transaction.SystemException, JboException
javax.transaction.NotSupportedException
javax.transaction.SystemException
JboException
SessionBeanImpl.connectToDataSource()
public void commitTransaction() throws javax.transaction.RollbackException, javax.transaction.HeuristicMixedException, javax.transaction.HeuristicRollbackException, javax.transaction.SystemException, java.lang.SecurityException, java.lang.IllegalStateException, JboException
javax.transaction.RollbackException
javax.transaction.HeuristicMixedException
javax.transaction.HeuristicRollbackException
javax.transaction.SystemException
java.lang.SecurityException
java.lang.IllegalStateException
JboException
SessionBeanImpl.disconnectFromDataSource()
public void rollbackTransaction() throws javax.transaction.SystemException, java.lang.SecurityException, java.lang.IllegalStateException, JboException
javax.transaction.SystemException
java.lang.SecurityException
java.lang.IllegalStateException
JboException
SessionBeanImpl.disconnectFromDataSource()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.