Package org.apache.catalina.startup
Class ListenerCreateRule.OptionalListener
java.lang.Object
org.apache.catalina.startup.ListenerCreateRule.OptionalListener
- All Implemented Interfaces:
LifecycleListener
- Enclosing class:
- ListenerCreateRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn 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
-
properties
-
-
Constructor Details
-
OptionalListener
-
-
Method Details
-
getClassName
- Returns:
- the className
-
lifecycleEvent
Description copied from interface:LifecycleListenerAcknowledge the occurrence of the specified event.- Specified by:
lifecycleEventin interfaceLifecycleListener- Parameters:
event- LifecycleEvent that has occurred
-
getProperties
Return a set of the property keys.- Returns:
- the set
-
getProperty
Return a property from the protocol handler.- Parameters:
name- the property name- Returns:
- the property value
-
setProperty
Set the given property.- Parameters:
name- the property namevalue- the property value- Returns:
true
-