org.yawlfoundation.yawl.elements.data.external
Class ExternalDBGatewayFactory

java.lang.Object
  extended by org.yawlfoundation.yawl.elements.data.external.ExternalDBGatewayFactory

public class ExternalDBGatewayFactory
extends Object

This factory class creates and instantiates instances of the various external database gateway classes found in this package. Create Date: 13/08/2009.

Version:
2.1
Author:
Michael Adams

Field Summary
static String MAPPING_PREFIX
           
 
Method Summary
static AbstractExternalDBGateway getInstance(String classname)
          Instantiates a class of the name passed.
static Set<AbstractExternalDBGateway> getInstances()
          Constructs and returns a list of instantiated dynAttribute objects, one for each of the different dynAttribute classes available in this package
static String getMappingClassFromExpression(String expression)
           
static boolean isExternalDBMappingExpression(String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPPING_PREFIX

public static final String MAPPING_PREFIX
See Also:
Constant Field Values
Method Detail

isExternalDBMappingExpression

public static boolean isExternalDBMappingExpression(String expression)

getMappingClassFromExpression

public static String getMappingClassFromExpression(String expression)

getInstance

public static AbstractExternalDBGateway getInstance(String classname)
Instantiates a class of the name passed.

Parameters:
classname - the name of the class to instantiate
Returns:
the instantiated class, or null if there was a problem
Precondition:
'allocatorName' must be the name of a class in this package

getInstances

public static Set<AbstractExternalDBGateway> getInstances()
Constructs and returns a list of instantiated dynAttribute objects, one for each of the different dynAttribute classes available in this package

Returns:
a List of instantiated allocator objects


Copyright © 2004-2012 The YAWL Foundation.