org.jbpm.svc
Class Services

java.lang.Object
  extended by org.jbpm.svc.Services
All Implemented Interfaces:
Serializable

public class Services
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String SERVICENAME_ADDRESSRESOLVER
           
static String SERVICENAME_AUTHENTICATION
           
static String SERVICENAME_AUTHORIZATION
           
static String SERVICENAME_JCR
           
static String SERVICENAME_LOGGING
           
static String SERVICENAME_MESSAGE
           
static String SERVICENAME_PERSISTENCE
           
static String SERVICENAME_SCHEDULER
           
static String SERVICENAME_TX
           
 
Constructor Summary
Services(Map serviceFactories)
           
Services(Map serviceFactories, List saveOperations)
           
Services(Map serviceFactories, List serviceNames, List saveOperations)
          Deprecated. use Services(Map, List) instead
 
Method Summary
 void addSaveOperation(SaveOperation saveOperation)
           
static void assignId(Object object)
          assigns an identifier to the given object
 void close()
           
 AuthenticationService getAuthenticationService()
           
 AuthorizationService getAuthorizationService()
           
static Service getCurrentService(String name)
           
static Service getCurrentService(String name, boolean isRequired)
           
 LoggingService getLoggingService()
           
 MessageService getMessageService()
           
 PersistenceService getPersistenceService()
           
 SchedulerService getSchedulerService()
           
 Service getService(String name)
           
 Map getServiceFactories()
           
 ServiceFactory getServiceFactory(String name)
           
 TxService getTxService()
           
 boolean hasService(String name)
           
static boolean isCausedByStaleState(JbpmPersistenceException persistenceException)
          Deprecated. call DbPersistenceService.isLockingException(Exception) instead
 void save(ProcessInstance processInstance, JbpmContext jbpmContext)
           
 void setAuthenticationService(AuthenticationService authenticationService)
           
 void setAuthorizationService(AuthorizationService authorizationService)
           
 void setLoggingService(LoggingService loggingService)
           
 void setMessageService(MessageService messageService)
           
 void setPersistenceService(PersistenceService persistenceService)
           
 void setSaveOperations(List saveOperations)
           
 void setSchedulerService(SchedulerService schedulerService)
           
 void setTxService(TxService txService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICENAME_AUTHENTICATION

public static final String SERVICENAME_AUTHENTICATION
See Also:
Constant Field Values

SERVICENAME_AUTHORIZATION

public static final String SERVICENAME_AUTHORIZATION
See Also:
Constant Field Values

SERVICENAME_TX

public static final String SERVICENAME_TX
See Also:
Constant Field Values

SERVICENAME_LOGGING

public static final String SERVICENAME_LOGGING
See Also:
Constant Field Values

SERVICENAME_MESSAGE

public static final String SERVICENAME_MESSAGE
See Also:
Constant Field Values

SERVICENAME_PERSISTENCE

public static final String SERVICENAME_PERSISTENCE
See Also:
Constant Field Values

SERVICENAME_SCHEDULER

public static final String SERVICENAME_SCHEDULER
See Also:
Constant Field Values

SERVICENAME_JCR

public static final String SERVICENAME_JCR
See Also:
Constant Field Values

SERVICENAME_ADDRESSRESOLVER

public static final String SERVICENAME_ADDRESSRESOLVER
See Also:
Constant Field Values
Constructor Detail

Services

public Services(Map serviceFactories)

Services

public Services(Map serviceFactories,
                List saveOperations)

Services

public Services(Map serviceFactories,
                List serviceNames,
                List saveOperations)
Deprecated. use Services(Map, List) instead

Method Detail

getCurrentService

public static Service getCurrentService(String name)

getCurrentService

public static Service getCurrentService(String name,
                                        boolean isRequired)

setSaveOperations

public void setSaveOperations(List saveOperations)

addSaveOperation

public void addSaveOperation(SaveOperation saveOperation)

getServiceFactories

public Map getServiceFactories()

getServiceFactory

public ServiceFactory getServiceFactory(String name)

hasService

public boolean hasService(String name)

getService

public Service getService(String name)

save

public void save(ProcessInstance processInstance,
                 JbpmContext jbpmContext)

getAuthenticationService

public AuthenticationService getAuthenticationService()

getAuthorizationService

public AuthorizationService getAuthorizationService()

getLoggingService

public LoggingService getLoggingService()

getMessageService

public MessageService getMessageService()

getPersistenceService

public PersistenceService getPersistenceService()

getSchedulerService

public SchedulerService getSchedulerService()

getTxService

public TxService getTxService()

setAuthenticationService

public void setAuthenticationService(AuthenticationService authenticationService)

setAuthorizationService

public void setAuthorizationService(AuthorizationService authorizationService)

setLoggingService

public void setLoggingService(LoggingService loggingService)

setMessageService

public void setMessageService(MessageService messageService)

setPersistenceService

public void setPersistenceService(PersistenceService persistenceService)

setSchedulerService

public void setSchedulerService(SchedulerService schedulerService)

setTxService

public void setTxService(TxService txService)

close

public void close()

isCausedByStaleState

public static boolean isCausedByStaleState(JbpmPersistenceException persistenceException)
Deprecated. call DbPersistenceService.isLockingException(Exception) instead


assignId

public static void assignId(Object object)
assigns an identifier to the given object



Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.