Package org.eclipse.jetty.servlet
Class DecoratingListener
java.lang.Object
org.eclipse.jetty.servlet.DecoratingListener
- All Implemented Interfaces:
EventListener,ServletContextAttributeListener
@Deprecated(since="2021-05-27")
public class DecoratingListener
extends Object
implements ServletContextAttributeListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
A ServletContextAttributeListener that listens for a context
attribute to obtain a decorator instance. The instance is then either
coerced to a
Decorator or reflected for decorator compatible methods
so it can be added to the ServletContextHandler.getObjectFactory() as a
Decorator.-
Constructor Summary
ConstructorsConstructorDescriptionDecoratingListener(ServletContextHandler context, String attributeName) 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.Deprecated.Deprecated.
-
Constructor Details
-
DecoratingListener
Deprecated.
-
-
Method Details
-
getAttributeName
Deprecated. -
getServletContext
Deprecated. -
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
-
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
-
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
-