org.camunda.bpm.engine.impl.spin
Class ProcessEngineSpinSupport

java.lang.Object
  extended by org.camunda.bpm.engine.impl.spin.ProcessEngineSpinSupport

public class ProcessEngineSpinSupport
extends Object

Entry point for the process engine spin support.

Purposefully, this class has no direct Spin imports. This is to ensure that we can work if spin is not on the process engine classpath. Users should use the isSpinAvailable() method for checking if spin is available prior to requesting a Spin SPI implementation.

Author:
Daniel Meyer

Constructor Summary
ProcessEngineSpinSupport()
           
 
Method Summary
static FunctionMapper getElFunctionMapper()
           
static ScriptEnvResolver getScriptEnvResolver()
           
static SerializationVariableTypeResolver getVariableTypeResolver()
           
static boolean isSpinAvailable()
          Allows checking whether spin is found on the classpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessEngineSpinSupport

public ProcessEngineSpinSupport()
Method Detail

getElFunctionMapper

public static FunctionMapper getElFunctionMapper()
Returns:
the FunctionMapper which provides access to spin functions.

getScriptEnvResolver

public static ScriptEnvResolver getScriptEnvResolver()
Returns:
the ScriptEnvResolver providing support for using spin in scripts

getVariableTypeResolver

public static SerializationVariableTypeResolver getVariableTypeResolver()
Returns:
the SerializationVariableTypeResolver providing variable types that use Spin's data formats for serialization

isSpinAvailable

public static boolean isSpinAvailable()
Allows checking whether spin is found on the classpath

Returns:
true if spin is available, false otherwise.


Copyright © 2014 camunda services GmbH. All Rights Reserved.