Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


oracle.as.scheduler.request
Class ContentHandle

java.lang.Object
  extended by oracle.as.scheduler.request.ContentHandle

All Implemented Interfaces:
java.io.Serializable

public class ContentHandle
extends java.lang.Object
implements java.io.Serializable

Handle for retrieving content from the ESS content store, and for importing content in case of manual recovery. A handle can be used for either read or write but not both. This handle supports retrieving units of content so that each get starts where the previous get left off.

See Also:
Serialized Form

Field Summary
protected static java.lang.String[] s_itemNames
           

 

Constructor Summary
ContentHandle(java.lang.String id, long requestId, ContentCategory contentCategory)
          Constructs a new handle.
ContentHandle(java.lang.String id, long requestId, ContentCategory contentCategory, boolean writable)
          Constructs a new handle.

 

Method Summary
static ContentHandle from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
protected  javax.management.openmbean.CompositeType getCompositeType()
           
 ContentCategory getContentCategory()
          Returns the content category.
 java.lang.String getId()
          Gets the handle id.
 long getRequestId()
          Gets the request id.
 boolean isWritable()
          Returns whether the handle is open for write, so that content can be written instead of read.
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

s_itemNames

protected static final java.lang.String[] s_itemNames

Constructor Detail

ContentHandle

public ContentHandle(java.lang.String id,
                     long requestId,
                     ContentCategory contentCategory)
Constructs a new handle.

ContentHandle

public ContentHandle(java.lang.String id,
                     long requestId,
                     ContentCategory contentCategory,
                     boolean writable)
Constructs a new handle.

Method Detail

getId

public java.lang.String getId()
Gets the handle id.

getRequestId

public long getRequestId()
Gets the request id.

isWritable

public boolean isWritable()
Returns whether the handle is open for write, so that content can be written instead of read.

getContentCategory

public ContentCategory getContentCategory()
Returns the content category.
Returns:
Content category.

getCompositeType

protected javax.management.openmbean.CompositeType getCompositeType()

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean. The MXBean framework can perform this conversion automatically. However MXBeans are part of JDK 6.0 and AS11g is required to support JDK 5.0
Parameters:
ct - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.

from

public static ContentHandle from(javax.management.openmbean.CompositeData cd)
                          throws java.lang.IllegalArgumentException
Create an instance of the model specific class out of an associated CompositeData instance
Throws:
java.lang.IllegalArgumentException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


Copyright © 2008, 2012 Oracle. All rights reserved.