Class ManagedAttributeListener
java.lang.Object
org.eclipse.jetty.ee10.servlet.ManagedAttributeListener
- All Implemented Interfaces:
 jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener, EventListener
public class ManagedAttributeListener
extends Object
implements jakarta.servlet.ServletContextListener, jakarta.servlet.ServletContextAttributeListener
Enable Jetty style JMX MBeans from within a Context
- 
Constructor Summary
ConstructorsConstructorDescriptionManagedAttributeListener(ServletContextHandler context, String... managedAttributes)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidattributeAdded(jakarta.servlet.ServletContextAttributeEvent event) voidattributeRemoved(jakarta.servlet.ServletContextAttributeEvent event) voidattributeReplaced(jakarta.servlet.ServletContextAttributeEvent event) voidcontextDestroyed(jakarta.servlet.ServletContextEvent event) voidcontextInitialized(jakarta.servlet.ServletContextEvent event) protected voidupdateBean(String name, Object oldBean, Object newBean)  
- 
Constructor Details
- 
ManagedAttributeListener
 
 - 
 - 
Method Details
- 
attributeReplaced
public void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent event) - Specified by:
 attributeReplacedin interfacejakarta.servlet.ServletContextAttributeListener
 - 
attributeRemoved
public void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent event) - Specified by:
 attributeRemovedin interfacejakarta.servlet.ServletContextAttributeListener
 - 
attributeAdded
public void attributeAdded(jakarta.servlet.ServletContextAttributeEvent event) - Specified by:
 attributeAddedin interfacejakarta.servlet.ServletContextAttributeListener
 - 
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent event) - Specified by:
 contextInitializedin interfacejakarta.servlet.ServletContextListener
 - 
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent event) - Specified by:
 contextDestroyedin interfacejakarta.servlet.ServletContextListener
 - 
updateBean
 
 -