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 RemoteAsyncResult
cancel(long asyncTaskID)
Remote Future.cancel() behavior.RemoteAsyncResult
get(long asyncTaskID)
RemoteAsyncResult
getWithTimeout(long asyncTaskID, long timeoutValue, String timeoutUnit)
RemoteAsyncResult
isDone(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:
RemoteException
TimeoutException
-
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
-
-