org.exoplatform.social.common.lifecycle
Class SocialChromatticLifeCycle

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.commons.chromattic.ChromatticLifeCycle
          extended by org.exoplatform.social.common.lifecycle.SocialChromatticLifeCycle
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class SocialChromatticLifeCycle
extends org.exoplatform.commons.chromattic.ChromatticLifeCycle

SocialChromatticLifecyle is used to manage ChromatticSession on Social project.

Version:
$Revision$
Author:
Alain Defrance

Field Summary
static String SOCIAL_LIFECYCLE_NAME
           
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
SocialChromatticLifeCycle(org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 ThreadLocal getProviderRoot()
           
 org.chromattic.api.ChromatticSession getSession()
           
 ThreadLocal getSpaceRoot()
           
protected  void onCloseSession(org.exoplatform.commons.chromattic.SessionContext context)
           
protected  void onOpenSession(org.exoplatform.commons.chromattic.SessionContext context)
           
 
Methods inherited from class org.exoplatform.commons.chromattic.ChromatticLifeCycle
closeContext, getChromattic, getContext, getContext, getDomainName, getManager, getRepositoryName, getWorkspaceName, openContext, start, stop
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOCIAL_LIFECYCLE_NAME

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

SocialChromatticLifeCycle

public SocialChromatticLifeCycle(org.exoplatform.container.xml.InitParams params)
Method Detail

getSession

public org.chromattic.api.ChromatticSession getSession()

onOpenSession

protected void onOpenSession(org.exoplatform.commons.chromattic.SessionContext context)
Overrides:
onOpenSession in class org.exoplatform.commons.chromattic.ChromatticLifeCycle

onCloseSession

protected void onCloseSession(org.exoplatform.commons.chromattic.SessionContext context)
Overrides:
onCloseSession in class org.exoplatform.commons.chromattic.ChromatticLifeCycle

getProviderRoot

public ThreadLocal getProviderRoot()

getSpaceRoot

public ThreadLocal getSpaceRoot()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.