Package org.eclipse.jetty.server.handler
Class ManagedAttributeListener
- java.lang.Object
-
- org.eclipse.jetty.server.handler.ManagedAttributeListener
-
- All Implemented Interfaces:
EventListener,ServletContextAttributeListener,ServletContextListener
@Deprecated(since="2021-05-27") public class ManagedAttributeListener extends Object implements ServletContextListener, ServletContextAttributeListener
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Enable Jetty style JMX MBeans from within a Context
-
-
Constructor Summary
Constructors Constructor Description ManagedAttributeListener(ContextHandler context, String... managedAttributes)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidattributeAdded(ServletContextAttributeEvent event)Deprecated.Notification that a new attribute was added to the servlet context.voidattributeRemoved(ServletContextAttributeEvent event)Deprecated.Notification that an existing attribute has been removed from the servlet context.voidattributeReplaced(ServletContextAttributeEvent event)Deprecated.Notification that an attribute on the servlet context has been replaced.voidcontextDestroyed(ServletContextEvent event)Deprecated.Notification that the servlet context is about to be shut down.voidcontextInitialized(ServletContextEvent event)Deprecated.Notification that the web application initialization process is starting.
-
-
-
Constructor Detail
-
ManagedAttributeListener
public ManagedAttributeListener(ContextHandler context, String... managedAttributes)
Deprecated.
-
-
Method Detail
-
attributeReplaced
public void attributeReplaced(ServletContextAttributeEvent event)
Deprecated.Description copied from interface:ServletContextAttributeListenerNotification that an attribute on the servlet context has been replaced. Called after the attribute is replaced.- Specified by:
attributeReplacedin interfaceServletContextAttributeListener- Parameters:
event- Information about the replaced attribute
-
attributeRemoved
public void attributeRemoved(ServletContextAttributeEvent event)
Deprecated.Description copied from interface:ServletContextAttributeListenerNotification that an existing attribute has been removed from the servlet context. Called after the attribute is removed.- Specified by:
attributeRemovedin interfaceServletContextAttributeListener- Parameters:
event- Information about the removed attribute
-
attributeAdded
public void attributeAdded(ServletContextAttributeEvent event)
Deprecated.Description copied from interface:ServletContextAttributeListenerNotification that a new attribute was added to the servlet context. Called after the attribute is added.- Specified by:
attributeAddedin interfaceServletContextAttributeListener- Parameters:
event- Information about the new attribute
-
contextInitialized
public void contextInitialized(ServletContextEvent event)
Deprecated.Description copied from interface:ServletContextListenerNotification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filter or servlet in the web application is initialized.- Specified by:
contextInitializedin interfaceServletContextListener- Parameters:
event- Information about the ServletContext that was initialized
-
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
Deprecated.Description copied from interface:ServletContextListenerNotification that the servlet context is about to be shut down. All servlets and filters have been destroy()ed before any ServletContextListeners are notified of context destruction.- Specified by:
contextDestroyedin interfaceServletContextListener- Parameters:
event- Information about the ServletContext that was destroyed
-
-