Class SocialServiceContextImpl
- java.lang.Object
-
- 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLifecycleService(LifecycleService lifecycleService)Adds the given lifecycle services to be used.static ProcessContextcreateProcessContext()ExecutorServiceManagergetExecutorServiceManager()static SocialServiceContextgetInstance()List<LifecycleService>getLifecycleServices()Returns the lifecycle services used to handle lifecycle notificationsSocialServiceExecutorgetServiceExecutor()TraceListgetTraceList()booleanisAsync()booleanisTraced()
-
-
-
Method Detail
-
getInstance
public static SocialServiceContext getInstance()
-
createProcessContext
public static ProcessContext createProcessContext()
-
getLifecycleServices
public List<LifecycleService> getLifecycleServices()
Description copied from interface:SocialServiceContextReturns the lifecycle services used to handle lifecycle notifications- Specified by:
getLifecycleServicesin interfaceSocialServiceContext- Returns:
- the lifecycle services
-
addLifecycleService
public void addLifecycleService(LifecycleService lifecycleService)
Description copied from interface:SocialServiceContextAdds the given lifecycle services to be used.- Specified by:
addLifecycleServicein interfaceSocialServiceContext- Parameters:
lifecycleService- the service
-
getServiceExecutor
public SocialServiceExecutor getServiceExecutor()
- Specified by:
getServiceExecutorin interfaceSocialServiceContext
-
getExecutorServiceManager
public ExecutorServiceManager getExecutorServiceManager()
- Specified by:
getExecutorServiceManagerin interfaceSocialServiceContext
-
getTraceList
public TraceList getTraceList()
- Specified by:
getTraceListin interfaceSocialServiceContext
-
isTraced
public boolean isTraced()
- Specified by:
isTracedin interfaceSocialServiceContext
-
isAsync
public boolean isAsync()
- Specified by:
isAsyncin interfaceSocialServiceContext
-
-