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 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.
- Author:
- florian.mueller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()voidsetCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory factory) voidsetServletContext(jakarta.servlet.ServletContext servletContext)
-
Constructor Details
-
CMISLifecycleBean
public CMISLifecycleBean()
-
-
Method Details
-
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
setCmisServiceFactory
public void setCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory factory) -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-