com.sun.ejb.containers
Interface GenericEJBHome

All Superinterfaces:
EJBHome, Remote

public interface GenericEJBHome
extends EJBHome


Method Summary
 RemoteAsyncResult cancel(long asyncTaskID)
          Remote Future.cancel() behavior.
 RemoteAsyncResult get(long asyncTaskID)
           
 RemoteAsyncResult getWithTimeout(long asyncTaskID, long timeoutValue, String timeoutUnit)
           
 RemoteAsyncResult isDone(long asyncTaskID)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

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


Copyright © 2012 GlassFish Community. All Rights Reserved.