Package com.sun.ejb.containers
Interface GenericEJBHome
-
- All Superinterfaces:
jakarta.ejb.EJBHome,Remote
public interface GenericEJBHome extends jakarta.ejb.EJBHome
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteAsyncResultcancel(long asyncTaskID)Remote Future.cancel() behavior.RemoteAsyncResultget(long asyncTaskID)RemoteAsyncResultgetWithTimeout(long asyncTaskID, long timeoutValue, String timeoutUnit)RemoteAsyncResultisDone(long asyncTaskID)
-
-
-
Method Detail
-
get
RemoteAsyncResult get(long asyncTaskID) throws RemoteException
- Throws:
RemoteException
-
getWithTimeout
RemoteAsyncResult getWithTimeout(long asyncTaskID, long timeoutValue, String timeoutUnit) throws RemoteException, TimeoutException
- Throws:
RemoteExceptionTimeoutException
-
cancel
RemoteAsyncResult cancel(long asyncTaskID) throws RemoteException
Remote Future.cancel() behavior. If the task is already cancelled, the AsyncResult is returned. Otherwise, returns null.- Parameters:
asyncTaskID-- Returns:
- Throws:
RemoteException
-
isDone
RemoteAsyncResult isDone(long asyncTaskID) throws RemoteException
- Parameters:
asyncTaskID-- Returns:
- if done, RemoteAsyncResult. Else, returns null.
- Throws:
RemoteException
-
-