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.description.AxisOperation,
22 org.apache.axis2.description.AxisService,
23 org.apache.axis2.engine.Handler,
24 org.apache.axis2.engine.Phase,
28 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
30 <jsp:include page="include/adminheader.jsp"></jsp:include>
31 <h1>View Operation Specific Chains</h1>
33 AxisService axisService = (AxisService)request.getSession().
34 getAttribute(Constants.SERVICE_HANDLERS);
35 if(axisService != null ){
37 Iterator operations = axisService.getOperations();
38 while (operations.hasNext()) {
39 AxisOperation axisOperationon = (AxisOperation) operations.next();
40 %><h2>Operation Name : <%=axisOperationon.getName().getLocalPart()%></h2><%
41 ArrayList phases = axisOperationon.getRemainingPhasesInFlow();
46 for (int i = 0; i < phases.size(); i++) {
47 Phase phase = (Phase) phases.get(i);
49 <li>Phase Name : <%=phase.getPhaseName()%></li>
52 handlers = phase.getHandlers();
53 for (int j = 0; j < handlers.size(); j++) {
54 Handler handler = (Handler) handlers.get(j);
56 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
66 phases = axisOperationon.getPhasesInFaultFlow();
68 <h3> In Fault Flow </h3>
71 for (int i = 0; i < phases.size(); i++) {
72 Phase phase = (Phase) phases.get(i);
74 <li>Phase Name : <%=phase.getPhaseName()%></li>
77 handlers = phase.getHandlers();
78 for (int j = 0; j < handlers.size(); j++) {
79 Handler handler = (Handler) handlers.get(j);
81 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
92 phases = axisOperationon.getPhasesOutFlow();
97 for (int i = 0; i < phases.size(); i++) {
98 Phase phase = (Phase) phases.get(i);
100 <li>Phase Name : <%=phase.getPhaseName()%></li>
103 handlers = phase.getHandlers();
104 for (int j = 0; j < handlers.size(); j++) {
105 Handler handler = (Handler) handlers.get(j);
107 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
117 phases = axisOperationon.getPhasesOutFaultFlow();
119 <h3> Out Fault Flow </h3>
122 for (int i = 0; i < phases.size(); i++) {
123 Phase phase = (Phase) phases.get(i);
125 <li>Phase Name : <%=phase.getPhaseName()%></li>
128 handlers = phase.getHandlers();
129 for (int j = 0; j < handlers.size(); j++) {
130 Handler handler = (Handler) handlers.get(j);
132 <li>Handler Name : <%=handler.getHandlerDesc().getName()%></li>
147 <jsp:include page="include/adminfooter.inc"></jsp:include>