T - the type of listenerServletListenerRegistrationBean@Deprecated public class ServletListenerRegistrationBean<T extends EventListener> extends ServletListenerRegistrationBean<T> implements ServletContextInitializer
ServletContextInitializer to register EventListeners in a Servlet
3.0+ container. Similar to the registration features provided by ServletContext but with a Spring Bean
friendly design.
This bean can be used to register the following types of listener:
ServletContextAttributeListenerServletRequestListenerServletRequestAttributeListenerHttpSessionAttributeListenerHttpSessionListenerServletContextListener| Constructor and Description |
|---|
ServletListenerRegistrationBean()
Deprecated.
|
ServletListenerRegistrationBean(T listener)
Deprecated.
|
getListener, getSupportedTypes, isSupportedType, onStartup, setListeneraddInitParameter, configure, getInitParameters, getOrDeduceName, getOrder, isAsyncSupported, isEnabled, setAsyncSupported, setEnabled, setInitParameters, setName, setOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonStartuppublic ServletListenerRegistrationBean()
public ServletListenerRegistrationBean(T listener)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.