?? component.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 + -