public class RemoteAsyncHelper extends RemoteConnector
This class can be used by a remote asynchronous EJB job to communicate its status back to Oracle Enterprise Scheduler.
Constructor and Description |
---|
RemoteAsyncHelper(RequestExecutionContext context,
RequestParameters params) |
RemoteAsyncHelper(RequestExecutionContext context,
RequestParameters params,
Context jndiContext) |
RemoteAsyncHelper(RequestExecutionContext context,
RequestParameters params,
Context jndiContext,
String jndiMapName) |
RemoteAsyncHelper(RequestExecutionContext context,
RequestParameters params,
String asyncReqBeanMapName) |
RemoteAsyncHelper(RequestExecutionContext context,
RequestParameters params,
String username,
char[] password) |
Modifier and Type | Method and Description |
---|---|
void |
onBizError(String errorMsg) |
void |
onCancel() |
void |
onError(String errorMsg) |
void |
onPause(String pausedState) |
void |
onSuccess() |
void |
onWarning(String warningMsg) |
void |
setRequestStatus(AsyncStatus status,
String statusMessage) |
getAsyncRequestEJB, getAsyncRequestEJB, getAsyncRequestEJB, getAsyncRequestEJB, getAsyncRequestEJB, getInitialContext, getInitialContext, getInitialContext, getInitialContext, getMetadataServiceEJB, getMetadataServiceEJB, getMetadataServiceEJB, getMetadataServiceEJB, getMetadataServiceEJB, getRuntimeServiceEJB, getRuntimeServiceEJB, getRuntimeServiceEJB, getRuntimeServiceEJB, getRuntimeServiceEJB, lookupCredentials
public RemoteAsyncHelper(RequestExecutionContext context, RequestParameters params) throws NamingException, SchedulerException
NamingException
SchedulerException
public RemoteAsyncHelper(RequestExecutionContext context, RequestParameters params, String asyncReqBeanMapName) throws NamingException, SchedulerException
NamingException
SchedulerException
public RemoteAsyncHelper(RequestExecutionContext context, RequestParameters params, String username, char[] password) throws NamingException, SchedulerException
NamingException
SchedulerException
public RemoteAsyncHelper(RequestExecutionContext context, RequestParameters params, Context jndiContext) throws NamingException, SchedulerException
NamingException
SchedulerException
public RemoteAsyncHelper(RequestExecutionContext context, RequestParameters params, Context jndiContext, String jndiMapName) throws NamingException, SchedulerException
NamingException
SchedulerException
public final void onSuccess() throws RuntimeServiceException, RequestNotFoundException
public final void onError(String errorMsg) throws RuntimeServiceException, RequestNotFoundException
public final void onBizError(String errorMsg) throws RuntimeServiceException, RequestNotFoundException
public final void onWarning(String warningMsg) throws RuntimeServiceException, RequestNotFoundException
public final void onPause(String pausedState) throws RuntimeServiceException, RequestNotFoundException
public final void onCancel() throws RuntimeServiceException, RequestNotFoundException
public void setRequestStatus(AsyncStatus status, String statusMessage) throws RuntimeServiceException, RequestNotFoundException