home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / JDesignerPro / Jdp3_0.exe / data1.cab / Program_Files / JDPEJBContext.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-09  |  874 b   |  38 lines

  1. import java.security.Identity;
  2. import java.util.Properties;
  3. import javax.ejb.EJBContext;
  4. import javax.ejb.EJBHome;
  5. import javax.jts.UserTransaction;
  6.  
  7. public class JDPEJBContext implements EJBContext {
  8.    boolean rollBackOnly;
  9.  
  10.    public Identity getCallerIdentity() {
  11.       return null;
  12.    }
  13.  
  14.    public EJBHome getEJBHome() {
  15.       return null;
  16.    }
  17.  
  18.    public Properties getEnvironment() {
  19.       return null;
  20.    }
  21.  
  22.    public boolean getRollbackOnly() {
  23.       return this.rollBackOnly;
  24.    }
  25.  
  26.    public UserTransaction getUserTransaction() {
  27.       return null;
  28.    }
  29.  
  30.    public boolean isCallerInRole(Identity var1) {
  31.       return false;
  32.    }
  33.  
  34.    public void setRollbackOnly() {
  35.       this.rollBackOnly = true;
  36.    }
  37. }
  38.