basicentitybean.java
来自「考勤管理系统源码」· Java 代码 · 共 50 行
JAVA
50 行
package com.wiley.compBooks.EJwithUML.Base.EjbUtil;
import java.rmi.*;
import javax.ejb.*;
import javax.naming.*;
/**
* An adapter base class for all entity beans. it provides default
* implementations for all the required methods of the EntityBean interface.
*/
public class BasicEntityBean implements EntityBean
{
protected EntityContext context;
public BasicEntityBean()
{
}
public void setEntityContext(EntityContext context) throws RemoteException
{
this.context = context;
}
public void unsetEntityContext() throws RemoteException
{
this.context = null;
}
public void ejbPassivate() throws RemoteException
{
}
public void ejbRemove() throws RemoteException
{
}
public void ejbLoad() throws RemoteException
{
}
public void ejbStore() throws RemoteException
{
}
public void ejbActivate() throws RemoteException
{
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?