Class ListenerCreateRule.OptionalListener
java.lang.Object
org.apache.catalina.startup.ListenerCreateRule.OptionalListener
- All Implemented Interfaces:
LifecycleListener
- Enclosing class:
ListenerCreateRule
A listener that is optional and may not be available at runtime.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the class name of the listener.Return a set of the property keys.getProperty(String name) Return a property from the protocol handler.voidlifecycleEvent(LifecycleEvent event) Acknowledge the occurrence of the specified event.booleansetProperty(String name, String value) Set the given property.
-
Field Details
-
className
The class name of the listener. -
properties
-
-
Constructor Details
-
OptionalListener
Constructor.- Parameters:
className- The class name of the listener
-
-
Method Details
-
getClassName
-
lifecycleEvent
Description copied from interface:LifecycleListenerAcknowledge the occurrence of the specified event.- Specified by:
lifecycleEventin interfaceLifecycleListener- Parameters:
event- LifecycleEvent that has occurred
-
getProperties
-
getProperty
-
setProperty
-