2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
20 <%@ page import="org.apache.axis2.Constants,
21 org.apache.axis2.engine.AxisConfiguration,
22 org.apache.axis2.engine.Handler,
23 org.apache.axis2.engine.Phase,
25 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
26 <jsp:include page="include/adminheader.jsp"></jsp:include>
27 <h1>View Global Execution Chains</h1>
29 AxisConfiguration axisConfig = (AxisConfiguration)request.getSession().
30 getAttribute(Constants.GLOBAL_HANDLERS);
31 if(axisConfig != null ){
33 List phases = axisConfig.getInFlowPhases();
35 <h3> In Flow Up To and Including Dispatcher </h3>
38 for (int i = 0; i < phases.size(); i++) {
39 Phase phase = (Phase) phases.get(i);
41 <li>Phase Name : <%=phase.getPhaseName()%></li>
44 handlers = phase.getHandlers();
45 for (int j = 0; j < handlers.size(); j++) {
46 Handler handler = (Handler) handlers.get(j);
48 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
58 phases = axisConfig.getInFaultFlowPhases();
60 <h3> In Fault Flow </h3>
63 for (int i = 0; i < phases.size(); i++) {
64 Phase phase = (Phase) phases.get(i);
66 <li>Phase Name : <%=phase.getPhaseName()%></li>
69 handlers = phase.getHandlers();
70 for (int j = 0; j < handlers.size(); j++) {
71 Handler handler = (Handler) handlers.get(j);
73 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
84 phases = axisConfig.getOutFlowPhases();
89 for (int i = 0; i < phases.size(); i++) {
90 Phase phase = (Phase) phases.get(i);
92 <li>Phase Name : <%=phase.getPhaseName()%></li>
95 handlers = phase.getHandlers();
96 for (int j = 0; j < handlers.size(); j++) {
97 Handler handler = (Handler) handlers.get(j);
99 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
109 phases = axisConfig.getOutFaultFlowPhases();
111 <h3> Out Fault Flow </h3>
114 for (int i = 0; i < phases.size(); i++) {
115 Phase phase = (Phase) phases.get(i);
117 <li>Phase Name : <%=phase.getPhaseName()%></li>
120 handlers = phase.getHandlers();
121 for (int j = 0; j < handlers.size(); j++) {
122 Handler handler = (Handler) handlers.get(j);
124 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
137 <jsp:include page="include/adminfooter.inc"></jsp:include>