com.sun.ejb.containers
Interface GenericEJBHome
- All Superinterfaces:
- EJBHome, java.rmi.Remote
public interface GenericEJBHome
- extends EJBHome
get
RemoteAsyncResult get(long asyncTaskID)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getWithTimeout
RemoteAsyncResult getWithTimeout(long asyncTaskID,
long timeoutValue,
java.lang.String timeoutUnit)
throws java.rmi.RemoteException,
java.util.concurrent.TimeoutException
- Throws:
java.rmi.RemoteException
java.util.concurrent.TimeoutException
cancel
RemoteAsyncResult cancel(long asyncTaskID)
throws java.rmi.RemoteException
- Remote Future.cancel() behavior. If the task is already cancelled, the AsyncResult
is returned. Otherwise, returns null.
- Parameters:
asyncTaskID -
- Returns:
-
- Throws:
java.rmi.RemoteException
isDone
RemoteAsyncResult isDone(long asyncTaskID)
throws java.rmi.RemoteException
- Parameters:
asyncTaskID -
- Returns:
- if done, RemoteAsyncResult. Else, returns null.
- Throws:
java.rmi.RemoteException
Copyright © 2012 GlassFish Community. All Rights Reserved.