SessionBean.java

00001 
00026 package org.objectweb.jonas.container;
00027 
00028 import org.objectweb.jonas_ejb.container.JSessionFactory;
00029 
00035 public class SessionBean extends EJB {
00036 
00041     public SessionBean(String objectName, JSessionFactory factoryToManage) {
00042         super(objectName, factoryToManage);
00043     }
00049     public int getSessionTimeOut() {
00050         return ((JSessionFactory) ejbToManage).getTimeout();
00051     }
00052 
00057     public void setSessionTimeOut(int timeOut) {
00058         ((JSessionFactory) ejbToManage).setTimeout(timeOut);
00059     }
00060 }

Generated on Tue Feb 15 15:05:14 2005 for JOnAS by  doxygen 1.3.9.1