Package org.alfresco.opencmis
Class CMISLifecycleBean
- java.lang.Object
-
- org.alfresco.opencmis.CMISLifecycleBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,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.DisposableBeanThis bean controls the lifecycle of the CMIS factory.- Author:
- florian.mueller
-
-
Constructor Summary
Constructors Constructor Description CMISLifecycleBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()voidsetCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory factory)voidsetServletContext(javax.servlet.ServletContext servletContext)
-
-
-
Method Detail
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContextin interfaceorg.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:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
destroy
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
java.lang.Exception
-
-