Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Uses of Class
oracle.as.scheduler.RuntimeServiceException

Packages that use RuntimeServiceException
oracle.as.scheduler Enterprise Scheduler API interfaces and classes, including RuntimeService and MetadataService. 
oracle.as.scheduler.request Request Log and Output Content API. 
oracle.as.scheduler.substitution Support for substitution on environment, configuration, execution context, and parameters. 

 

Uses of RuntimeServiceException in oracle.as.scheduler

 

Subclasses of RuntimeServiceException in oracle.as.scheduler
 class RollbackException
           
 class RuntimeIllegalOperationException
           
 class RuntimeServiceAccessControlException
          Thrown by the MetadataService to indicate system errors.
 class RuntimeStoreAccessException
           
 class RuntimeStoreLockException
           

 

Methods in oracle.as.scheduler that throw RuntimeServiceException
 void RuntimeService.cancelRequest(RuntimeServiceHandle handle, long requestId)
          Cancels the processing of a request that is not in a terminal state.
 java.util.Map RuntimeService.checkRequestPrivilege(RuntimeServiceHandle handle, long[] requestIds, RuntimeDataPermission.Action... privileges)
          Check whether the current user has privilegs on the input requests identified by a list of request ids.
 void RuntimeService.close(RuntimeServiceHandle handle)
          Closes the runtime handle.
 void RuntimeService.close(RuntimeServiceHandle handle, boolean abort)
          Closes the runtime handle.
 void RuntimeService.closeContent(RuntimeServiceHandle handle, ContentHandle contentHandle)
          Closes the previously opened log or output content and releases the handle.
 void RuntimeService.deleteRequest(RuntimeServiceHandle handle, long requestId)
          Marks a submitted request as deleted.
 byte[] RuntimeService.getBinaryContent(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxBytes)
          Gets at most maxBytes bytes from the binary content.
 RequestExecutionContext AsyncRequestBeanInterface.getContextFromString(java.lang.String string)
          The dual of RequestExecutionContext.toString()
 FailedExecutionResult RuntimeService.getFailedExecutionResult(RuntimeServiceHandle handle, long requestId)
          Retrieves the result of the last failed execution attempt for the specified request which has been retried at least once.
 ContentDetail RuntimeService.getLogContentDetail(RuntimeServiceHandle handle, long requestId)
          Gets the log content detail for the request.
 java.util.Set<java.lang.String> RuntimeService.getLogicalApplicationNames(RuntimeServiceHandle handle)
          Get a list of all logical application names for ESS hosted applications currently deployed
 java.lang.String[] RuntimeService.getLogLines(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxLines)
          Gets at most maxLines lines from the request log, continuing from the last call to this method.
 java.util.List<ContentDetail> RuntimeService.getOutputContentDetail(RuntimeServiceHandle handle, long requestId)
          Gets details for all output content for the request.
 ContentDetail RuntimeService.getOutputContentDetail(RuntimeServiceHandle handle, long requestId, java.lang.String contentName)
          Gets details for the specified output content for the request.
 RequestDetail RuntimeService.getRequestDetail(RuntimeServiceHandle handle, long requestId)
          Retrieves runtime details of the specified request.
 RequestDetail RuntimeService.getRequestDetailBasic(RuntimeServiceHandle handle, long requestId)
          Retrieves basic runtime details of the specified request.
 RequestDetail[] RuntimeService.getRequestDetails(RuntimeServiceHandle handle, long[] requestIds)
          Retrieves basic runtime details of the specified requests.
 java.lang.Object RuntimeService.getRequestParameter(RuntimeServiceHandle handle, long requestId, java.lang.String name)
          Retrieves the value of a request parameter.
 java.util.Enumeration<java.lang.Long> RuntimeService.getRequests(RuntimeServiceHandle handle, long requestId)
          Returns an enumeration of the request identifiers for those requests that have the specified request as their immediate parent and are associated with the current execution attempt of that parent request.
 State RuntimeService.getRequestState(RuntimeServiceHandle handle, long requestId)
          Retrieves the current state of the specified request.
 char[] RuntimeService.getTextContent(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxChars)
          Gets at most maxChars lines from the log or output text content.
 void RuntimeService.holdRequest(RuntimeServiceHandle handle, long requestId)
          Withholds further processing of a request that is in WAIT or READY state.
 boolean RuntimeService.isStandaloneEnv(RuntimeServiceHandle handle)
          Returns whether the environment is standalone or fusion.
 void RuntimeService.lockRequest(RuntimeServiceHandle handle, long requestId)
          Acquires a lock for the given request.
 void AsyncRequestBeanInterface.onBizError(RequestExecutionContext context, java.lang.String errorMsg)
           
 void AsyncRequestBeanRemote.onBizError(java.lang.String context, java.lang.String errorMsg)
           
 void AsyncRequestBeanInterface.onCancel(RequestExecutionContext context)
           
 void AsyncRequestBeanRemote.onCancel(java.lang.String context)
           
 void AsyncRequestBeanInterface.onError(RequestExecutionContext context, java.lang.String errorMsg)
           
 void AsyncRequestBeanRemote.onError(java.lang.String context, java.lang.String errorMsg)
           
 void AsyncRequestBeanInterface.onPause(RequestExecutionContext context, java.lang.String pausedState)
           
 void AsyncRequestBeanRemote.onPause(java.lang.String context, java.lang.String pausedState)
           
 void AsyncRequestBeanInterface.onSuccess(RequestExecutionContext context)
           
 void AsyncRequestBeanRemote.onSuccess(java.lang.String context)
           
 void AsyncRequestBeanInterface.onWarning(RequestExecutionContext context, java.lang.String warningMessage)
           
 void AsyncRequestBeanRemote.onWarning(java.lang.String context, java.lang.String warningMessage)
           
 RuntimeServiceHandle RuntimeService.open()
          Allocates system resources for performing subsequent runtime operations.
 ContentHandle RuntimeService.openLogContent(RuntimeServiceHandle handle, long requestId)
          Opens the request log to retrieve the log data.
 ContentHandle RuntimeService.openOutputContent(RuntimeServiceHandle handle, long requestId, java.lang.String contentName)
          Opens the specified request output to retrieve the output data.
 void RuntimeService.publishEvent(RuntimeServiceHandle handle, java.lang.String targetApplication, ApplicationEvent event)
          Publishes an application event to the event queue.
 void RuntimeService.purgeRequest(RuntimeServiceHandle handle, long requestId)
          Deprecated. As of 11.1.1.3.0(D8B4) Purge not supported via runtime API. Always throws NotAllowedException
 java.util.Enumeration<java.lang.Long> RuntimeService.queryRequests(RuntimeServiceHandle handle, Filter filter, RuntimeService.QueryField orderBy, boolean ascending)
          Retrieves an enumeration of the request identifers for all requests whose attribute and system properties match those specified by the query parameters
 void RuntimeService.releaseRequest(RuntimeServiceHandle handle, long requestId)
          Releases a request from the HOLD state.
 void RuntimeService.replaceSchedule(RuntimeServiceHandle handle, long requestId, MetadataObjectId scheduleId)
          Replace the current schedule for a request that has already been submitted.
 void RuntimeService.replaceSchedule(RuntimeServiceHandle handle, long requestId, MetadataObjectId scheduleId, Schedule schedule, java.util.Calendar start, java.util.Calendar end)
          Replace the current schedule for a request that has already been submitted with a schedule.
 void RuntimeService.replaceSchedule(RuntimeServiceHandle handle, long requestId, Schedule schedule)
          Replace the current schedule for a request that has already been submitted.
 void RuntimeService.setRequestParameter(RuntimeServiceHandle handle, long requestId, java.lang.String name, java.lang.Object value)
          Sets the value of a request parameter for a specified request.
 void AsyncRequestBeanInterface.setRequestStatus(RequestExecutionContext context, oracle.as.scheduler.async.AsyncStatus status, java.lang.String statusMessage)
          Set the status of an ESS asynchronous java job.
 void AsyncRequestBeanRemote.setRequestStatus(java.lang.String context, java.lang.String status, java.lang.String statusMessage)
          Set the status of an ESS asynchronous java job.
 long RuntimeService.submitRequest(RuntimeServiceHandle handle, RequestExecutionContext context, java.lang.String description, MetadataObjectId definition, RequestParameters parameters)
          Submits a sub-request.
 long RuntimeService.submitRequest(RuntimeServiceHandle handle, java.lang.String description, JobType.ExecutionType type, Schedule schedule, Trigger trigger, java.util.Calendar start, java.util.Calendar end, RequestParameters parameters)
          Adhoc job request submission using specified Schedule and Trigger instances.
 long RuntimeService.submitRequest(RuntimeServiceHandle handle, java.lang.String description, MetadataObjectId definition, java.util.Calendar start, RequestParameters parameters)
          Creates a new job request using metadata definition of the job to run once on a specific time.
 long RuntimeService.submitRequest(RuntimeServiceHandle handle, java.lang.String description, MetadataObjectId definition, MetadataObjectId trigger, java.util.Calendar start, java.util.Calendar end, RequestParameters parameters)
          Creates a new job request using metadata definitions of the job and associated trigger
 long RuntimeService.submitRequest(RuntimeServiceHandle handle, java.lang.String description, MetadataObjectId definition, MetadataObjectId schedule, MetadataObjectId trigger, java.util.Calendar start, java.util.Calendar end, RequestParameters parameters)
          Creates a new job request using metadata definitions of the job, schedule and associated trigger.
 long RuntimeService.submitRequest(RuntimeServiceHandle handle, java.lang.String description, MetadataObjectId definition, Schedule schedule, Trigger trigger, java.util.Calendar start, java.util.Calendar end, RequestParameters parameters)
          Adhoc job request submission using job definition from metadata.
 void RuntimeService.updateRequestParameter(RuntimeServiceHandle handle, long requestId, java.lang.String name, java.lang.Object value)
          Updates the value of a request parameter for a specified request.
 void RuntimeService.updateRequestStartEnd(RuntimeServiceHandle handle, long requestId, java.util.Calendar start, java.util.Calendar end)
          Replace the start and end time for a request that has already been submitted.

 

Uses of RuntimeServiceException in oracle.as.scheduler.request

 

Methods in oracle.as.scheduler.request that throw RuntimeServiceException
 void OutputContentHelper.deleteOutputContent(java.util.List<java.lang.String> contentNames)
          Deletes the output content from the content store for the request.
static OutputContentHelper ContentFactory.getOutputContentHelper(long requestId)
          Gets the helper for creating output content for requests with Standard or Extended request mode.
static OutputContentHelper ContentFactory.getOutputContentHelper(long requestId, RuntimeServiceHandle rsh)
          Gets the helper for creating output content for requests with Standard or Extended request mode.
static RequestLogger ContentFactory.getRequestLogger(long requestId)
          Returns the request logger for the specified request, which logs to the ESS content store.
static RequestOutput ContentFactory.getRequestOutput(RuntimeServiceHandle rsh, long requestId, ContentType contentType, java.lang.String contentName)
          Returns the request output and creates the output content for the request.
 boolean OutputContentHelper.outputContentExists(java.lang.String contentName)
          Checks whether the specified output content exists in the content store for the request.
 java.util.List<ContentDetail> OutputContentHelper.queryOutputContent()
          Gets the detailed information for all existing output content in the content store.
 ContentDetail OutputContentHelper.queryOutputContent(java.lang.String contentName)
          Gets the detailed information for the output content in the content store, if it exists.
 void RequestOutput.write(byte[] bytes)
          Appends the bytes to the binary output content.
 void RequestOutput.write(byte[] bytes, int offset, int length)
          Appends the bytes to the binary output content.
 void RequestOutput.write(char[] chars)
          Appends the characters to the text output content.
 void RequestOutput.write(char[] chars, int offset, int length)
          Appends the charactes to the text output content.
 void RequestOutput.write(java.lang.String str)
          Appends the String to the text output content.
 void RequestOutput.write(java.lang.String str, int offset, int length)
          Appends the String to the text output content.
 void RequestOutput.writeln(java.lang.String str)
          Appends the String to the text output content, followed by a line feed character.

 

Uses of RuntimeServiceException in oracle.as.scheduler.substitution

 

Methods in oracle.as.scheduler.substitution that throw RuntimeServiceException
static Substitutor SubstitutorFactory.getSubstitutor(RequestExecutionContext ctxt, RequestParameters params)
          Create the standard Substitutor.
static Substitutor SubstitutorFactory.getSubstitutorWithAltEnv(RequestExecutionContext ctxt, RequestParameters params, java.util.Map<java.lang.String,java.lang.String> altAppEnv)
          Create the standard Substitutor.

 


Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.