Package org.apache.catalina.startup
Class EngineConfig
- java.lang.Object
-
- org.apache.catalina.startup.EngineConfig
-
- All Implemented Interfaces:
LifecycleListener
public class EngineConfig extends java.lang.Object implements LifecycleListener
Startup event listener for an Engine that configures the properties of that Engine, and the associated defined contexts.- Author:
- Craig R. McClanahan
-
-
Field Summary
Fields Modifier and Type Field Description protected Engine
engine
The Engine we are associated with.protected static StringManager
sm
The string resources for this package.
-
Constructor Summary
Constructors Constructor Description EngineConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Engine.protected void
start()
Process a "start" event for this Engine.protected void
stop()
Process a "stop" event for this Engine.
-
-
-
Field Detail
-
engine
protected Engine engine
The Engine we are associated with.
-
sm
protected static final StringManager sm
The string resources for this package.
-
-
Method Detail
-
lifecycleEvent
public void lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Engine.- Specified by:
lifecycleEvent
in interfaceLifecycleListener
- Parameters:
event
- The lifecycle event that has occurred
-
start
protected void start()
Process a "start" event for this Engine.
-
stop
protected void stop()
Process a "stop" event for this Engine.
-
-