org.smartcomps.twister.engine.priv.core.definition
Class ProcessFactory

java.lang.Object
  |
  +--org.smartcomps.twister.engine.priv.core.definition.ProcessFactory

public class ProcessFactory
extends java.lang.Object


Constructor Summary
ProcessFactory()
           
 
Method Summary
static org.smartcomps.twister.engine.priv.core.definition.CorrelationSet addCorrelation(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process, java.lang.String correlationName, java.lang.String correlationProps)
           
static org.smartcomps.twister.engine.priv.core.definition.Property addProperty(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process, java.lang.String name, java.lang.String type)
           
static org.smartcomps.twister.engine.priv.core.definition.Property addProperty(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process, java.lang.String name, java.lang.String type, java.lang.String msgType, java.lang.String part, java.lang.String query)
           
static org.smartcomps.twister.engine.priv.core.definition.TwisterProcess createProcess(java.lang.String name)
          Creates a new Process persistance instance.
static org.smartcomps.twister.engine.priv.core.definition.TwisterProcess getByName(java.lang.String name)
          Finds a persistent Process from its name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessFactory

public ProcessFactory()
Method Detail

createProcess

public static org.smartcomps.twister.engine.priv.core.definition.TwisterProcess createProcess(java.lang.String name)
                                                                                       throws DBSessionException,
                                                                                              CreationException
Creates a new Process persistance instance.

Parameters:
name - of the Process to create
Returns:
TwisterProcess initiated with the provided name
Throws:
DBSessionException
DBSessionException
CreationException

addCorrelation

public static org.smartcomps.twister.engine.priv.core.definition.CorrelationSet addCorrelation(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process,
                                                                                               java.lang.String correlationName,
                                                                                               java.lang.String correlationProps)
                                                                                        throws DBSessionException,
                                                                                               FinderException
DBSessionException
FinderException

addProperty

public static org.smartcomps.twister.engine.priv.core.definition.Property addProperty(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process,
                                                                                      java.lang.String name,
                                                                                      java.lang.String type)
                                                                               throws DBSessionException,
                                                                                      FinderException
DBSessionException
FinderException

addProperty

public static org.smartcomps.twister.engine.priv.core.definition.Property addProperty(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process,
                                                                                      java.lang.String name,
                                                                                      java.lang.String type,
                                                                                      java.lang.String msgType,
                                                                                      java.lang.String part,
                                                                                      java.lang.String query)
                                                                               throws DBSessionException,
                                                                                      FinderException
DBSessionException
FinderException

getByName

public static org.smartcomps.twister.engine.priv.core.definition.TwisterProcess getByName(java.lang.String name)
                                                                                   throws DBSessionException,
                                                                                          FinderException
Finds a persistent Process from its name.

Parameters:
name -
Returns:
TwisterProcess
Throws:
DBSessionException
DBSessionException
FinderException


Copyright © 2003 SmartComps. All Rights Reserved.