| <!-- |
| 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. |
| --> |
| <catalog name="foo"> |
| |
| <!-- Single command "chains" from CatalogBaseTestCase --> |
| <command name="AddingCommand" |
| className="org.apache.commons.chain2.testutils.AddingCommand"/> |
| <command name="DelegatingCommand" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command name="DelegatingFilter" |
| className="org.apache.commons.chain2.testutils.DelegatingFilter"/> |
| <command name="ExceptionCommand" |
| className="org.apache.commons.chain2.testutils.ExceptionCommand"/> |
| <command name="ExceptionFilter" |
| className="org.apache.commons.chain2.testutils.ExceptionFilter"/> |
| <command name="NonDelegatingCommand" |
| className="org.apache.commons.chain2.testutils.NonDelegatingCommand"/> |
| <command name="NonDelegatingFilter" |
| className="org.apache.commons.chain2.testutils.NonDelegatingFilter"/> |
| <chain name="ChainBase" |
| className="org.apache.commons.chain2.config.xml.TestChain"/> |
| |
| <!-- Configurable command with settable properties --> |
| <command name="Configurable" |
| className="org.apache.commons.chain2.config.xml.TestCommand" |
| foo="Foo Value" |
| bar="Bar Value"/> |
| |
| <!-- Chains with nested commands --> |
| <chain name="Execute2a"> |
| <command id="1" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="2" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="3" |
| className="org.apache.commons.chain2.testutils.NonDelegatingCommand"/> |
| </chain> |
| <chain name="Execute2b"> |
| <command id="1" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="2" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="3" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| </chain> |
| <chain name="Execute2c"> |
| <command id="1" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="2" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="3" |
| className="org.apache.commons.chain2.testutils.ExceptionCommand"/> |
| </chain> |
| <chain name="Execute2d"> |
| <command id="1" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="2" |
| className="org.apache.commons.chain2.testutils.ExceptionCommand"/> |
| <command id="3" |
| className="org.apache.commons.chain2.testutils.NonDelegatingCommand"/> |
| </chain> |
| <chain name="Execute4a"> |
| <command id="1" |
| id2="a" |
| className="org.apache.commons.chain2.testutils.DelegatingFilter"/> |
| <command id="2" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="3" |
| id2="c" |
| className="org.apache.commons.chain2.testutils.NonDelegatingFilter"/> |
| </chain> |
| <chain name="Execute4b"> |
| <command id="1" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| <command id="2" |
| id2="b" |
| className="org.apache.commons.chain2.testutils.DelegatingFilter"/> |
| <command id="3" |
| className="org.apache.commons.chain2.testutils.DelegatingCommand"/> |
| </chain> |
| <chain name="Execute4c"> |
| <command id="1" |
| id2="a" |
| className="org.apache.commons.chain2.testutils.DelegatingFilter"/> |
| <command id="2" |
| id2="b" |
| className="org.apache.commons.chain2.testutils.DelegatingFilter"/> |
| <command id="3" |
| id2="c" |
| className="org.apache.commons.chain2.testutils.ExceptionFilter"/> |
| </chain> |
| <chain name="Execute4d"> |
| <command id="1" |
| id2="a" |
| className="org.apache.commons.chain2.testutils.DelegatingFilter"/> |
| <command id="2" |
| id2="b" |
| className="org.apache.commons.chain2.testutils.ExceptionFilter"/> |
| <command id="3" |
| id2="c" |
| className="org.apache.commons.chain2.testutils.NonDelegatingFilter"/> |
| </chain> |
| |
| </catalog> |