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
ConstructorsConstructorDescriptionManagedAttributeListener(ContextHandler context, String... managedAttributes) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Notification that a new attribute was added to the servlet context.voidDeprecated.Notification that an existing attribute has been removed from the servlet context.voidDeprecated.Notification that an attribute on the servlet context has been replaced.voidDeprecated.Notification that the servlet context is about to be shut down.voidDeprecated.Notification that the web application initialization process is starting.
-
Constructor Details
-
ManagedAttributeListener
Deprecated.
-
-
Method Details
-
attributeReplaced
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
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
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
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
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
-