Author: markt
Date: Wed Jan 22 09:17:21 2014
New Revision: 1560290

URL: http://svn.apache.org/r1560290
Log:
Initial enum for ContainerEventType. Lots more event types to add.

Added:
    tomcat/trunk/java/org/apache/catalina/ContainerEventType.java   (with props)

Added: tomcat/trunk/java/org/apache/catalina/ContainerEventType.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ContainerEventType.java?rev=1560290&view=auto
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ContainerEventType.java (added)
+++ tomcat/trunk/java/org/apache/catalina/ContainerEventType.java Wed Jan 22 
09:17:21 2014
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.catalina;
+
+public enum ContainerEventType {
+
+    /**
+     * The ContainerEvent event type sent when a child container is added
+     * by <code>addChild()</code>.
+     */
+    ADD_CHILD,
+
+    /**
+     * The ContainerEvent event type sent when a child container is removed
+     * by <code>removeChild()</code>.
+     */
+    REMOVE_CHILD,
+
+    /**
+     * The ContainerEvent event type sent when a valve is added
+     * by <code>addValve()</code>, if this Container supports pipelines.
+     */
+    ADD_VALVE,
+
+    /**
+     * The ContainerEvent event type sent when a valve is removed
+     * by <code>removeValve()</code>, if this Container supports pipelines.
+     */
+    REMOVE_VALVE;
+}

Propchange: tomcat/trunk/java/org/apache/catalina/ContainerEventType.java
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to