Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


com.oracle.bpel.client
Class BPELProcessEvent

java.lang.Object
  extended by com.oracle.bpel.client.BPELProcessEvent

All Implemented Interfaces:
java.io.Serializable

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

This class contains event information (to be) logged regarding a deployed BPEL process. Events can be logged with a category and type to aid in filtering from the console.

See Also:
Serialized Form

Field Summary
static int CATEGORY_APPLICATION
          Category for application level events.
static int CATEGORY_KERNEL
          Category for kernel level events.
static int CATEGORY_SYSTEM
          Category for system level events.
static int TYPE_DEBUG
          Type for general debugging events.
static int TYPE_ERROR
          Type for error events.
static int TYPE_INFO
          Type for informational events.
static int TYPE_WARNING
          Type for warning events.

 

Constructor Summary
BPELProcessEvent(java.lang.String processId, java.lang.String revisionTag, int category, int type, java.lang.String message)
          Creates a process event with a message.
BPELProcessEvent(java.lang.String processId, java.lang.String revisionTag, int category, int type, java.lang.String message, java.lang.Object details)
          Creates a process event with an optional details string.

 

Method Summary
 int getCategory()
          Returns the category for this event.
 java.lang.String getDetails()
          Returns the details string for this event.
 java.util.Date getEventDate()
          Returns the date the event was logged.
 java.lang.String getMessage()
          Returns the message for this event.
 java.lang.String getProcessId()
          Returns the BPEL process identifier for this event.
 java.lang.String getRevisionTag()
          Returns the BPEL process revision tag for this event.
 int getType()
          Returns the type for this event.
 void setEventDate(java.util.Date eventDate)
          Sets the date for this event.

 

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

 

Field Detail

CATEGORY_KERNEL

public static final int CATEGORY_KERNEL
Category for kernel level events. These events are logged by low-level server modules and are used primarily for debugging.
See Also:
Constant Field Values

CATEGORY_SYSTEM

public static final int CATEGORY_SYSTEM
Category for system level events. These events are typically logged by the process loading module.
See Also:
Constant Field Values

CATEGORY_APPLICATION

public static final int CATEGORY_APPLICATION
Category for application level events. This category should be used by users and adaptor modules to log events.
See Also:
Constant Field Values

TYPE_DEBUG

public static final int TYPE_DEBUG
Type for general debugging events.
See Also:
Constant Field Values

TYPE_INFO

public static final int TYPE_INFO
Type for informational events.
See Also:
Constant Field Values

TYPE_WARNING

public static final int TYPE_WARNING
Type for warning events.
See Also:
Constant Field Values

TYPE_ERROR

public static final int TYPE_ERROR
Type for error events.
See Also:
Constant Field Values

Constructor Detail

BPELProcessEvent

public BPELProcessEvent(java.lang.String processId,
                        java.lang.String revisionTag,
                        int category,
                        int type,
                        java.lang.String message)
Creates a process event with a message.

BPELProcessEvent

public BPELProcessEvent(java.lang.String processId,
                        java.lang.String revisionTag,
                        int category,
                        int type,
                        java.lang.String message,
                        java.lang.Object details)
Creates a process event with an optional details string. The details object can be an arbitrary object; the value assigned to the event will be the string returned from invoking toString() on the object.

Method Detail

getProcessId

public java.lang.String getProcessId()
Returns the BPEL process identifier for this event.

getRevisionTag

public java.lang.String getRevisionTag()
Returns the BPEL process revision tag for this event.

getCategory

public int getCategory()
Returns the category for this event.

getType

public int getType()
Returns the type for this event.

getMessage

public java.lang.String getMessage()
Returns the message for this event.

getDetails

public java.lang.String getDetails()
Returns the details string for this event. This parameter is optional so null may be returned.

getEventDate

public java.util.Date getEventDate()
Returns the date the event was logged.

setEventDate

public void setEventDate(java.util.Date eventDate)
Sets the date for this event.

Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


Copyright © 2006, Oracle. All rights reserved.