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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn a set of the property keys.getProperty
(String name) Return a property from the protocol handler.void
lifecycleEvent
(LifecycleEvent event) Acknowledge the occurrence of the specified event.boolean
setProperty
(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:LifecycleListener
Acknowledge the occurrence of the specified event.- Specified by:
lifecycleEvent
in 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
-