| java.lang.Object com.mockrunner.example.ejb.LogSessionBean
LogSessionBean | public class LogSessionBean implements SessionBean(Code) | | This simple example EJB can be used to write
log messages to a database.
|
createLogTable | public void createLogTable()(Code) | | Creates the database logtable
|
ejbCreate | public void ejbCreate() throws CreateException(Code) | | |
logMessage | public void logMessage(String message)(Code) | | Writes the specified message into the logtable
along with the timestamp and the current thread name.
Parameters: message - the message |
setSessionContext | public void setSessionContext(SessionContext sessionContext) throws EJBException, RemoteException(Code) | | |
|
|