org.imixs.workflow
Class WorkflowKernel

java.lang.Object
  extended by org.imixs.workflow.WorkflowKernel

public class WorkflowKernel
extends Object

The Workflowkernel is the core component of this Framework to control the processing of a workitem. A Workflowmanager loads an instance of a Workflowkernel and hand over a Model and register Plugins for processing one or many workitems.

Version:
1.1
Author:
Ralph Soika
See Also:
WorkflowManager

Field Summary
static int LOG_LEVEL_FINE
           
static int LOG_LEVEL_SEVERE
          Log-Levels
static int LOG_LEVEL_WARNING
           
 
Constructor Summary
WorkflowKernel(WorkflowContext actx)
          Constructor initialize the contextObject and plugin vectors
 
Method Summary
static String generateUniqueID()
          This method creates a unique key which can be used as a primary key.
 void process(ItemCollection document)
          Processes a workitem.
 void registerPlugin(String aClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_LEVEL_SEVERE

public static final int LOG_LEVEL_SEVERE
Log-Levels

See Also:
Constant Field Values

LOG_LEVEL_WARNING

public static final int LOG_LEVEL_WARNING
See Also:
Constant Field Values

LOG_LEVEL_FINE

public static final int LOG_LEVEL_FINE
See Also:
Constant Field Values
Constructor Detail

WorkflowKernel

public WorkflowKernel(WorkflowContext actx)
Constructor initialize the contextObject and plugin vectors

Method Detail

registerPlugin

public void registerPlugin(String aClassName)

process

public void process(ItemCollection document)
             throws ProcessingErrorException
Processes a workitem. The Workitem have at least provide the properties "$processid" and "$activityid"

Parameters:
document -
Throws:
ProcessingErrorException

generateUniqueID

public static String generateUniqueID()
This method creates a unique key which can be used as a primary key. The method is used by the 'checkWorkItemID()' method and the checkUniqueID() method.

The uniqueid consits of two parts containing a random unique char sequence

Returns:


Copyright © 2006-2012 Imixs Software Solutions GmbH. All Rights Reserved.