com.sun.ejb.containers
Interface GenericEJBHome
- All Superinterfaces:
- EJBHome, Remote
public interface GenericEJBHome
- extends EJBHome
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
Copyright © 2012 GlassFish Community. All Rights Reserved.