Skip navigation links

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


oracle.as.scheduler.management
Class SpawnedJobDetail

java.lang.Object
  extended by oracle.as.scheduler.management.SpawnedJobDetail

All Implemented Interfaces:
java.io.Serializable

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

Details for an ESS process type request

An object of this class represents a snapshot of available information at a point in time. Certain information may only be non-null only at certain times such as the actual job execution.

Since:
release specific (what release of product did this appear in)
Version:
$Header: ess/src/oracle/as/scheduler/management/SpawnedJobDetail.java /main/2 2010/10/26 13:46:46 kbittler Exp $
Author:
kbittler
See Also:
Serialized Form

Constructor Summary
protected SpawnedJobDetail(long requestId, java.lang.String processId, java.lang.String processGroupId, java.lang.String hostName, java.lang.String cmdLine)
          Construct a new object.

 

Method Summary
static SpawnedJobDetail from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.lang.String getCommandLine()
          Property that specifies the command line used to invoke an external program for this request.
 java.lang.String getHostName()
          The host name on which the job instance was spawned.
 java.lang.String getProcessGroupId()
          The process group identifier of the spawned job instance.
 java.lang.String getProcessId()
          The process identifier of the spawned job instance.
 long getRequestId()
          The ESS request identifier associated with these details.
 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

 

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

 

Constructor Detail

SpawnedJobDetail

protected SpawnedJobDetail(long requestId,
                           java.lang.String processId,
                           java.lang.String processGroupId,
                           java.lang.String hostName,
                           java.lang.String cmdLine)
Construct a new object.

Method Detail

getRequestId

public long getRequestId()
The ESS request identifier associated with these details.
Returns:
request identifier

getProcessId

public java.lang.String getProcessId()
The process identifier of the spawned job instance.

The value of this attribute will usually be non-null only if the job was executing at the time this object was created.

Returns:
the process ID

getProcessGroupId

public java.lang.String getProcessGroupId()
The process group identifier of the spawned job instance.

The value of this attribute will usually be non-null only if the job was executing at the time this object was created.

Returns:
the process group identifier

getHostName

public java.lang.String getHostName()
The host name on which the job instance was spawned.

The value of this attribute will usually be non-null only if the job was executing at the time this object was created.

Returns:
the host name

getCommandLine

public java.lang.String getCommandLine()
Property that specifies the command line used to invoke an external program for this request.

This value is identical to that of SystemProperty.CMDLINE.

Returns:
the command line

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 SpawnedJobDetail 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

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.