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.BayeuxServerpostProcessAfterInitialization(Object bean, String name) voidpostProcessBeforeDestruction(Object bean, String name) postProcessBeforeInitialization(Object bean, String name) booleanrequiresDestruction(Object bean) voidsetServletContext(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:
postProcessBeforeInitializationin 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:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
requiresDestruction
- Specified by:
requiresDestructionin interfaceorg.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
-
postProcessBeforeDestruction
public void postProcessBeforeDestruction(Object bean, String name) throws org.springframework.beans.BeansException - Specified by:
postProcessBeforeDestructionin interfaceorg.springframework.beans.factory.config.DestructionAwareBeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-