Package com.sun.ejb.containers
Interface GenericEJBHome
- All Superinterfaces:
jakarta.ejb.EJBHome,Remote
public interface GenericEJBHome
extends jakarta.ejb.EJBHome
-
Method Summary
Modifier and TypeMethodDescriptioncancel(long asyncTaskID) Remote Future.cancel() behavior.get(long asyncTaskID) getWithTimeout(long asyncTaskID, long timeoutValue, String timeoutUnit) isDone(long asyncTaskID) Methods inherited from interface jakarta.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
-
Method Details
-
get
- Throws:
RemoteException
-
getWithTimeout
RemoteAsyncResult getWithTimeout(long asyncTaskID, long timeoutValue, String timeoutUnit) throws RemoteException, TimeoutException - Throws:
RemoteExceptionTimeoutException
-
cancel
Remote Future.cancel() behavior. If the task is already cancelled, the AsyncResult is returned. Otherwise, returns null.- Parameters:
asyncTaskID-- Returns:
- Throws:
RemoteException
-
isDone
- Parameters:
asyncTaskID-- Returns:
- if done, RemoteAsyncResult. Else, returns null.
- Throws:
RemoteException
-