Lifecycle refactoring.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 4 Mar 2010 18:06:21 +0000 (18:06 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 4 Mar 2010 18:06:21 +0000 (18:06 +0000)
commit6a6f17bfb7f50046b444e4eebedbf694af24a9e4
treeff84070770fd22988f4084eedcf5e83c698af70e
parent6d4b219fff1b458d6aa0160fb180f3cb3fa942fe
Lifecycle refactoring.
Part 1 of many.
Better define the start and stop methods as well as the overall component lifecycle and the relationship between start/stop, component state and events.
Add a getState() method but it is commented out in this checkin to prevent compilation errors. It will be uncommented once the method has been added to the components that implement Lifecycle.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919100 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/Lifecycle.java
java/org/apache/catalina/LifecycleState.java [new file with mode: 0644]