⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 component.java

📁 EJB_原代码多例-好好东西啊
💻 JAVA
字号:
package com.wiley.compBooks.roman.session.fazuul;

import javax.ejb.*;
import java.rmi.RemoteException;

/**
 * This is ComponentBean's remote interface.  It duplicates each of
 * ComponentBean's business methods.
 *
 * This interface is what clients operate on when they interact with
 * beans. The EJB Container vendor will implement this interface; the
 * implemented object is called the EJB Object, which delegates
 * invocations to the actual bean.
 */
public interface Component extends EJBObject {

  /**
   * Attaches this component to another component.  If attach is successful,
   * the Bean will call remove() on the two EJB Objects, and generate a new,
   * combined Component.
   *
   * @return newly formed Component if successful
   * @exception ComponentException thrown if two Components can't fit together
   */
  public Component attachTo(Component other) throws RemoteException, ComponentException;

  /**
   * Returns the short name of this component
   */
  public String getName() throws RemoteException;

  /**
   * Returns the long description of this component
   */
  public String getDescription() throws RemoteException;
}

⌨️ 快捷键说明

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