org.ow2.bonita.util
Class EnvTool
java.lang.Object
org.ow2.bonita.util.EnvTool
public final class EnvTool
- extends java.lang.Object
This class holds the EnvironmentFactory
singleton.
The EnvironmentFactory
returned by #getEnvironmentFactory()
comes from the
parsing of the resource defined by the property
#ENVIRONMENT_PROPERTY
. If this property has not been set, the
#DEFAULT_ENVIRONMENT
resource is used and parsed.
- Author:
- Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRepository
public static org.ow2.bonita.runtime.Repository getRepository()
getRecorder
public static org.ow2.bonita.services.Recorder getRecorder()
getJournal
public static org.ow2.bonita.services.Journal getJournal()
getArchiver
public static org.ow2.bonita.services.Archiver getArchiver()
getHistory
public static org.ow2.bonita.services.History getHistory()
getCommandService
public static org.jbpm.client.CommandService getCommandService()
getPersistenceService
public static org.ow2.bonita.persistence.XpdlPersistenceService getPersistenceService()
getUserId
public static java.lang.String getUserId()
setUserId
public static void setUserId(java.lang.String userId)
get
public static <T> T get(java.lang.Class<T> class1,
java.lang.String key)
getTimerSession
public static org.jbpm.env.session.TimerSession getTimerSession()
getRetry
public static int getRetry()