home *** CD-ROM | disk | FTP | other *** search
- import java.security.Identity;
- import java.util.Properties;
- import javax.ejb.EJBContext;
- import javax.ejb.EJBHome;
- import javax.jts.UserTransaction;
-
- public class JDPEJBContext implements EJBContext {
- boolean rollBackOnly;
-
- public Identity getCallerIdentity() {
- return null;
- }
-
- public EJBHome getEJBHome() {
- return null;
- }
-
- public Properties getEnvironment() {
- return null;
- }
-
- public boolean getRollbackOnly() {
- return this.rollBackOnly;
- }
-
- public UserTransaction getUserTransaction() {
- return null;
- }
-
- public boolean isCallerInRole(Identity var1) {
- return false;
- }
-
- public void setRollbackOnly() {
- this.rollBackOnly = true;
- }
- }
-