org.yawlfoundation.yawl.resourcing.codelets
Class CodeletFactory

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.codelets.CodeletFactory

public class CodeletFactory
extends Object

This factory class creates and instantiates codelet instances.

Version:
2.0 (17/06/2008), 2.1 (13/09/2010)
Author:
Michael Adams

Constructor Summary
CodeletFactory()
           
 
Method Summary
static AbstractCodelet getInstance(String codeletName)
          Instantiates a single codelet instance
static Set<AbstractCodelet> getInstances()
          Constructs and returns a list of instantiated codelet objects, one for each of the different codelet classes available in this package and externally
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeletFactory

public CodeletFactory()
Method Detail

getInstance

public static AbstractCodelet getInstance(String codeletName)
Instantiates a single codelet instance

Parameters:
codeletName - the canonical name of the codelet class (no extension) deployed within the resource service
Returns:
an instantiated codelet, or null if there was a problem

getInstances

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

Returns:
a Set of instantiated codelet objects


Copyright © 2004-2012 The YAWL Foundation.