org.lateralnz.panther.wrapper
Class SessionBeanWrapper
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.lateralnz.panther.wrapper.SessionBeanWrapper
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, javax.ejb.Handle, Constants
public abstract class SessionBeanWrapper
- extends java.rmi.server.UnicastRemoteObject
- implements java.io.Serializable, javax.ejb.Handle, Constants
a wrapper over a session bean --
See the sessionbean.vm (velocity macro) which subclasses SessionBeanWrapper
to provide the rest of the required functionality for a Session Bean.
Note that this implements the Handle interface, but probably violates the 'contract'
for a handle (e.g. A handle is an abstraction of a network reference to an EJB object.)
- See Also:
- Serialized Form
|
Field Summary |
protected javax.ejb.SessionContext |
ctx
|
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface org.lateralnz.common.util.Constants |
AMPERSAND, AND, APPLICATION_X_WWW_FORM_URLENCODED, ASTERISK, AT, BACK_SLASH, CHAR_LEFT_CHEV, CHAR_RIGHT_CHEV, COLON, COMMA, CRLF, DASH, DELETE, DOLLAR, DOT, DOT_CLASS, DOT_JAVA, EIGHT, EMPTY, EQUALS, FALSE, FILE_SEPARATOR, FIVE, FORWARD_SLASH, FOUR, FULLSTOP, HASH, HAT, INSERT, LEFT_BRACE, LEFT_BRACKET, LEFT_CHEV, MAX_LEN_APPCODE, MAX_LEN_APPGROUP, MAX_LEN_MSGCODE, MAX_LEN_MSGTEXT, MINUS_ONE, N, NEWLINE, NINE, NO, NULL_STRING, OFF, ON, ONE, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_WEEK, PATH_SEPARATOR, PERCENT, PIPE, PLUS, QUESTION_MARK, QUOTE, REQUIRED, REQUIRES_NEW, RETURN, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CHEV, SELECT, SEMICOLON, SEVEN, SINGLE_QUOTE, SIX, SPACE, SQ_LEFT_BRACKET, SQ_RIGHT_BRACKET, SUPPORTS, TEXT_HTML, TEXT_PLAIN, TEXT_XML, THREE, TRUE, TWO, UNDERSCORE, UPDATE, UTF_8, Y, YES, ZERO |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.ejb.Handle |
getEJBObject |
ctx
protected javax.ejb.SessionContext ctx
SessionBeanWrapper
protected SessionBeanWrapper()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
beginTrans
protected boolean beginTrans(java.lang.String transactionType)
checkTransEnd
protected void checkTransEnd(boolean transStartedByCaller)
getEJBHome
public javax.ejb.EJBHome getEJBHome()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
remove
public void remove()
throws java.rmi.RemoteException,
javax.ejb.RemoveException
- Throws:
java.rmi.RemoteException
javax.ejb.RemoveException
isIdentical
public boolean isIdentical(javax.ejb.EJBObject obj)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getHandle
public javax.ejb.Handle getHandle()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getPrimaryKey
public java.lang.Object getPrimaryKey()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException