org.ow2.bonita.util
Class EnvTool

java.lang.Object
  extended by 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

Method Summary
static
<T> T
get(java.lang.Class<T> class1, java.lang.String key)
           
static org.ow2.bonita.services.Querier getAllQueriers()
           
static org.ow2.bonita.services.Archiver getArchiver()
           
static org.ow2.bonita.services.Querier getHistoryQueriers()
           
static org.ow2.bonita.services.Querier getJournalQueriers()
           
static org.ow2.bonita.persistence.XpdlPersistenceService getPersistenceService(java.lang.String id)
           
static org.ow2.bonita.services.Recorder getRecorder()
           
static org.ow2.bonita.runtime.Repository getRepository()
           
static org.jbpm.pvm.session.TimerSession getTimerSession()
           
static java.lang.String getUserId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.