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()
getArchiver
public static org.ow2.bonita.services.Archiver getArchiver()
getAllQueriers
public static org.ow2.bonita.services.Querier getAllQueriers()
getJournalQueriers
public static org.ow2.bonita.services.Querier getJournalQueriers()
getHistoryQueriers
public static org.ow2.bonita.services.Querier getHistoryQueriers()
getPersistenceService
public static org.ow2.bonita.persistence.XpdlPersistenceService getPersistenceService(java.lang.String id)
getUserId
public static java.lang.String getUserId()
get
public static <T> T get(java.lang.Class<T> class1,
java.lang.String key)
getTimerSession
public static org.jbpm.pvm.session.TimerSession getTimerSession()
Copyright © 2008 OW2 Consortium. All Rights Reserved.