entitysupport.java

来自「Jboss s J2EE Sample」· Java 代码 · 共 70 行

JAVA
70
字号
/* * Copyright 1999 by dreamBean Software, * All rights reserved. */package transaction.entity;import java.rmi.RemoteException;import javax.ejb.EntityBean;import javax.ejb.EntityContext;import javax.ejb.RemoveException;import transaction.EnterpriseSupport;/** *       *   @see <related> *   @author $Author: schaefera $ *   @version $Revision: 1.1 $ */public abstract class EntitySupport   extends EnterpriseSupport   implements EntityBean{   // Constants -----------------------------------------------------       // Attributes ----------------------------------------------------   protected EntityContext entityCtx;      // Static --------------------------------------------------------   // Constructors --------------------------------------------------      // Public --------------------------------------------------------   public void setEntityContext(EntityContext ctx)       throws RemoteException   {      entityCtx = ctx;   }   public void unsetEntityContext()       throws RemoteException   {    }	   public void ejbActivate()       throws RemoteException   {   }	   public void ejbPassivate()       throws RemoteException   {   }	   public void ejbLoad()      throws RemoteException   {   }	   public void ejbStore()       throws RemoteException   {    }	   public void ejbRemove()       throws RemoteException, RemoveException   {   }}

⌨️ 快捷键说明

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