1 | <%--
|
---|
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
|
---|
9 | ~
|
---|
10 | ~ http://www.apache.org/licenses/LICENSE-2.0
|
---|
11 | ~
|
---|
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
|
---|
17 | ~ under the License.
|
---|
18 | --%>
|
---|
19 |
|
---|
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,
|
---|
24 | java.util.ArrayList"%>
|
---|
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>
|
---|
28 | <%
|
---|
29 | AxisConfiguration axisConfig = (AxisConfiguration)request.getSession().
|
---|
30 | getAttribute(Constants.GLOBAL_HANDLERS);
|
---|
31 | if(axisConfig != null ){
|
---|
32 | java.util.List handlers ;
|
---|
33 | ArrayList phases = axisConfig.getInFlowPhases();
|
---|
34 | %>
|
---|
35 | <h3> In Flow Up To and Including Dispatcher </h3>
|
---|
36 | <ul>
|
---|
37 | <%
|
---|
38 | for (int i = 0; i < phases.size(); i++) {
|
---|
39 | Phase phase = (Phase) phases.get(i);
|
---|
40 | %>
|
---|
41 | <li>Phase Name : <%=phase.getPhaseName()%></li>
|
---|
42 | <ul>
|
---|
43 | <%
|
---|
44 | handlers = phase.getHandlers();
|
---|
45 | for (int j = 0; j < handlers.size(); j++) {
|
---|
46 | Handler handler = (Handler) handlers.get(j);
|
---|
47 | %>
|
---|
48 | <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
|
---|
49 | <%
|
---|
50 | }
|
---|
51 | %>
|
---|
52 | </ul>
|
---|
53 | <%
|
---|
54 | }
|
---|
55 | %>
|
---|
56 | </ul>
|
---|
57 | <%
|
---|
58 | phases = axisConfig.getInFaultFlowPhases();
|
---|
59 | %>
|
---|
60 | <h3> In Fault Flow </h3>
|
---|
61 | <ul>
|
---|
62 | <%
|
---|
63 | for (int i = 0; i < phases.size(); i++) {
|
---|
64 | Phase phase = (Phase) phases.get(i);
|
---|
65 | %>
|
---|
66 | <li>Phase Name : <%=phase.getPhaseName()%></li>
|
---|
67 | <ul>
|
---|
68 | <%
|
---|
69 | handlers = phase.getHandlers();
|
---|
70 | for (int j = 0; j < handlers.size(); j++) {
|
---|
71 | Handler handler = (Handler) handlers.get(j);
|
---|
72 | %>
|
---|
73 | <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
|
---|
74 | <%
|
---|
75 | }
|
---|
76 | %>
|
---|
77 | </ul>
|
---|
78 | <%
|
---|
79 | }
|
---|
80 | %>
|
---|
81 | </ul>
|
---|
82 | <%
|
---|
83 |
|
---|
84 | phases = axisConfig.getOutFlowPhases();
|
---|
85 | %>
|
---|
86 | <h3> Out Flow </h3>
|
---|
87 | <ul>
|
---|
88 | <%
|
---|
89 | for (int i = 0; i < phases.size(); i++) {
|
---|
90 | Phase phase = (Phase) phases.get(i);
|
---|
91 | %>
|
---|
92 | <li>Phase Name : <%=phase.getPhaseName()%></li>
|
---|
93 | <ul>
|
---|
94 | <%
|
---|
95 | handlers = phase.getHandlers();
|
---|
96 | for (int j = 0; j < handlers.size(); j++) {
|
---|
97 | Handler handler = (Handler) handlers.get(j);
|
---|
98 | %>
|
---|
99 | <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
|
---|
100 | <%
|
---|
101 | }
|
---|
102 | %>
|
---|
103 | </ul>
|
---|
104 | <%
|
---|
105 | }
|
---|
106 | %>
|
---|
107 | </ul>
|
---|
108 | <%
|
---|
109 | phases = axisConfig.getOutFaultFlowPhases();
|
---|
110 | %>
|
---|
111 | <h3> Out Fault Flow </h3>
|
---|
112 | <ul>
|
---|
113 | <%
|
---|
114 | for (int i = 0; i < phases.size(); i++) {
|
---|
115 | Phase phase = (Phase) phases.get(i);
|
---|
116 | %>
|
---|
117 | <li>Phase Name : <%=phase.getPhaseName()%></li>
|
---|
118 | <ul>
|
---|
119 | <%
|
---|
120 | handlers = phase.getHandlers();
|
---|
121 | for (int j = 0; j < handlers.size(); j++) {
|
---|
122 | Handler handler = (Handler) handlers.get(j);
|
---|
123 | %>
|
---|
124 | <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
|
---|
125 | <%
|
---|
126 | }
|
---|
127 | %>
|
---|
128 | </ul>
|
---|
129 | <%
|
---|
130 | }
|
---|
131 | %>
|
---|
132 | </ul>
|
---|
133 | <%
|
---|
134 |
|
---|
135 | }
|
---|
136 | %>
|
---|
137 | <jsp:include page="include/adminfooter.inc"></jsp:include>
|
---|