org.alfresco.opencmis
Class CMISLifecycleBean

java.lang.Object
  extended by org.alfresco.opencmis.CMISLifecycleBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware

public class CMISLifecycleBean
extends java.lang.Object
implements org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

This bean controls the lifecycle of the CMIS factory.


Constructor Summary
CMISLifecycleBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void setCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory factory)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISLifecycleBean

public CMISLifecycleBean()
Method Detail

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)
Specified by:
setServletContext in interface org.springframework.web.context.ServletContextAware

setCmisServiceFactory

public void setCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory factory)

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.