employeebean.java

来自「jbuilder9+weblogic8+oracle9开发的客户管理系统。服务器」· Java 代码 · 共 56 行

JAVA
56
字号
package testejb;import javax.ejb.*;abstract public class EmployeeBean implements EntityBean {  EntityContext entityContext;  public java.lang.String ejbCreate(java.lang.String id) throws CreateException {    setId(id);    return null;  }  public java.lang.String ejbCreate2(String id, String name, String login, String passwd) throws CreateException {    /**@todo Complete this method*/    setId(id);    setName(name);    setLogin(login);    setPasswd(passwd);    return null;  }  public void ejbPostCreate(java.lang.String id) throws CreateException {    /**@todo Complete this method*/  }  public void ejbPostCreate2(String id, String name, String login, String passwd) throws CreateException {    /**@todo Complete this method*/  }  public void ejbRemove() throws RemoveException {    /**@todo Complete this method*/  }  public abstract void setId(java.lang.String id);  public abstract void setName(java.lang.String name);  public abstract void setLogin(java.lang.String login);  public abstract void setPasswd(java.lang.String passwd);  public abstract void setEmployeePermcmp(java.util.Collection employeePermcmp);  public abstract java.lang.String getId();  public abstract java.lang.String getName();  public abstract java.lang.String getLogin();  public abstract java.lang.String getPasswd();  public abstract java.util.Collection getEmployeePermcmp();  public void ejbLoad() {    /**@todo Complete this method*/  }  public void ejbStore() {    /**@todo Complete this method*/  }  public void ejbActivate() {    /**@todo Complete this method*/  }  public void ejbPassivate() {    /**@todo Complete this method*/  }  public void unsetEntityContext() {    this.entityContext = null;  }  public void setEntityContext(EntityContext entityContext) {    this.entityContext = entityContext;  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?