org.exoplatform.social.common.service.impl
Class SocialServiceContextImpl

java.lang.Object
  extended by org.exoplatform.social.common.service.impl.SocialServiceContextImpl
All Implemented Interfaces:
SocialServiceContext

public class SocialServiceContextImpl
extends Object
implements SocialServiceContext


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.exoplatform.social.common.service.SocialServiceContext
SocialServiceContext.ProcessType
 
Method Summary
 void addLifecycleService(LifecycleService lifecycleService)
          Adds the given lifecycle services to be used.
static ProcessContext createProcessContext()
           
 ExecutorServiceManager getExecutorServiceManager()
           
static SocialServiceContext getInstance()
           
 List<LifecycleService> getLifecycleServices()
          Returns the lifecycle services used to handle lifecycle notifications
 SocialServiceExecutor getServiceExecutor()
           
 TraceList getTraceList()
           
 boolean isAsync()
           
 boolean isTraced()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SocialServiceContext getInstance()

createProcessContext

public static ProcessContext createProcessContext()

getLifecycleServices

public List<LifecycleService> getLifecycleServices()
Description copied from interface: SocialServiceContext
Returns the lifecycle services used to handle lifecycle notifications

Specified by:
getLifecycleServices in interface SocialServiceContext
Returns:
the lifecycle services

addLifecycleService

public void addLifecycleService(LifecycleService lifecycleService)
Description copied from interface: SocialServiceContext
Adds the given lifecycle services to be used.

Specified by:
addLifecycleService in interface SocialServiceContext

getServiceExecutor

public SocialServiceExecutor getServiceExecutor()
Specified by:
getServiceExecutor in interface SocialServiceContext

getExecutorServiceManager

public ExecutorServiceManager getExecutorServiceManager()
Specified by:
getExecutorServiceManager in interface SocialServiceContext

getTraceList

public TraceList getTraceList()
Specified by:
getTraceList in interface SocialServiceContext

isTraced

public boolean isTraced()
Specified by:
isTraced in interface SocialServiceContext

isAsync

public boolean isAsync()
Specified by:
isAsync in interface SocialServiceContext


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.