|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.1) E26229-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.as.scheduler.request.ContentFactory
public class ContentFactory
Factory for request logging and request output.
| Field Summary | |
|---|---|
static java.util.logging.Level |
DEFAULT_LOG_LEVELDefault log level for request loggers. |
| Constructor Summary | |
|---|---|
ContentFactory() |
|
| Method Summary | |
|---|---|
static OutputContentHelper |
getOutputContentHelper(long requestId)Gets the helper for creating output content for requests with Standard or Extended request mode. |
static OutputContentHelper |
getOutputContentHelper(long requestId, RuntimeServiceHandle rsh)Gets the helper for creating output content for requests with Standard or Extended request mode. |
static RequestLogger |
getRequestLogger(long requestId)Returns the request logger for the specified request, which logs to the ESS content store. |
static RequestOutput |
getRequestOutput(RuntimeServiceHandle rsh, long requestId, ContentType contentType, java.lang.String contentName)Returns the request output and creates the output content for the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.logging.Level DEFAULT_LOG_LEVEL
| Constructor Detail |
|---|
public ContentFactory()
| Method Detail |
|---|
public static RequestLogger getRequestLogger(long requestId)
throws RequestNotFoundException,
RuntimeServiceException
SystemProperty.REQUEST_LOG_LEVEL if defined, or else the default level of "INFO". The name of the content in the ESS content store is requestId.logrequestId - request id to use.RequestNotFoundException - if the request does not exist.RuntimeServiceException - in case of any error creating or accessing the log content.
public static RequestOutput getRequestOutput(RuntimeServiceHandle rsh,
long requestId,
ContentType contentType,
java.lang.String contentName)
throws RequestNotFoundException,
RuntimeServiceException,
ValidationException
rsh - runtime service handle for creating output content.requestId - request id to use.contentType - type of output content to create.contentName - name of the output contentRequestNotFoundException - if the request does not exist.RuntimeServiceException - in case of any error creating or accessing the output content.ValidationException - if the output content already exists and its content type does not match the given content type.
public static OutputContentHelper getOutputContentHelper(long requestId)
throws RequestNotFoundException,
RuntimeServiceException,
ValidationException
requestId - id of the request.RequestNotFoundException - if the request does not exist.RuntimeServiceException - if error accessing the runtime store.ValidationException - if the request mode is neither Standard nor Extended.
public static OutputContentHelper getOutputContentHelper(long requestId,
RuntimeServiceHandle rsh)
throws RequestNotFoundException,
RuntimeServiceException,
ValidationException
requestId - id of the request.rsh - runtime service handle.RequestNotFoundException - if the request does not exist.RuntimeServiceException - if error accessing the runtime store.ValidationException - if the request mode is neither Standard nor Extended.
|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.1) E26229-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||