Package org.cometd.documentation.server
Class ServerServiceIntegrationSpringDocs.Configurer
java.lang.Object
org.cometd.documentation.server.ServerServiceIntegrationSpringDocs.Configurer
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.config.BeanPostProcessor
,org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
,org.springframework.web.context.ServletContextAware
- Enclosing class:
- ServerServiceIntegrationSpringDocs
@Configuration
public class ServerServiceIntegrationSpringDocs.Configurer
extends Object
implements org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor, org.springframework.web.context.ServletContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.cometd.bayeux.server.BayeuxServer
postProcessAfterInitialization(Object bean, String name)
void
postProcessBeforeDestruction(Object bean, String name)
postProcessBeforeInitialization(Object bean, String name)
boolean
requiresDestruction(Object bean)
void
setServletContext(javax.servlet.ServletContext servletContext)
-
Constructor Details
-
Configurer
public Configurer()
-
-
Method Details
-
bayeuxServer
@Bean(initMethod="start", destroyMethod="stop") public org.cometd.bayeux.server.BayeuxServer bayeuxServer() -
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String name) throws org.springframework.beans.BeansException- Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String name) throws org.springframework.beans.BeansException- Specified by:
postProcessAfterInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
requiresDestruction
- Specified by:
requiresDestruction
in interfaceorg.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
-
postProcessBeforeDestruction
public void postProcessBeforeDestruction(Object bean, String name) throws org.springframework.beans.BeansException- Specified by:
postProcessBeforeDestruction
in interfaceorg.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)- Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-