|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.server.AbstractContext<X>
com.caucho.ejb.message.MessageDrivenContextImpl<X>
public class MessageDrivenContextImpl<X>
Server container for a message bean.
| Field Summary | |
|---|---|
protected static L10N |
L
|
protected static java.util.logging.Logger |
log
|
| Method Summary | |
|---|---|
EJBHome |
getEJBHome()
Returns the EJBHome stub for the container. |
boolean |
getRollbackOnly()
Forces a rollback of the current transaction. |
AbstractEjbBeanManager<X> |
getServer()
Returns the server which owns this bean. |
UserTransaction |
getUserTransaction()
Returns the current UserTransaction. |
boolean |
isCMT()
|
void |
setRollbackOnly()
Forces a rollback of the current transaction. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.ejb.server.AbstractContext |
|---|
__caucho_setInvokedBusinessInterface, __caucho_timeout_callback, __caucho_timeout_callback, __caucho_timeout_callback, destroy, getCallerIdentity, getCallerPrincipal, getContextData, getEJBLocalHome, getEJBMetaData, getEnvironment, getInvokedBusinessInterface, getTimerService, isCallerInRole, isCallerInRole, isDead, lookup, setDeclaredRoles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.ejb.EJBContext |
|---|
getCallerIdentity, getCallerPrincipal, getContextData, getEJBLocalHome, getEnvironment, getTimerService, isCallerInRole, isCallerInRole, lookup |
| Field Detail |
|---|
protected static final L10N L
protected static final java.util.logging.Logger log
| Method Detail |
|---|
public AbstractEjbBeanManager<X> getServer()
AbstractContext
getServer in class AbstractContext<X>public boolean isCMT()
public EJBHome getEJBHome()
getEJBHome in interface EJBContextgetEJBHome in class AbstractContext<X>
public UserTransaction getUserTransaction()
throws java.lang.IllegalStateException
getUserTransaction in interface EJBContextgetUserTransaction in class AbstractContext<X>java.lang.IllegalStateException
public void setRollbackOnly()
throws java.lang.IllegalStateException
setRollbackOnly in interface EJBContextsetRollbackOnly in class AbstractContext<X>java.lang.IllegalStateException
public boolean getRollbackOnly()
throws java.lang.IllegalStateException
getRollbackOnly in interface EJBContextgetRollbackOnly in class AbstractContext<X>java.lang.IllegalStateExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||