Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 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
  --%> <%@ page import="org.apache.axis2.Constants,
19
                 org.apache.axis2.deployment.util.PhasesInfo,
20
                 org.apache.axis2.engine.Phase"%>
21
 <%@ page import="java.util.List"%>
22
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
23
<jsp:include page="include/adminheader.jsp"></jsp:include>
24
<h1>Available Phases</h1>
25
     <%
26
         PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST);
27
         request.getSession().setAttribute(Constants.PHASE_LIST,null);
28
         List tempList = phases.getGlobalInflow();
29
     %><h2><font color="blue">System Pre-defined Phases</font></h2>
30
     <b>InFlow Up to Dispatcher</b>
31
     <blockquote>
32
         <%
33
             for (int i = 0; i < tempList.size(); i++) {
34
                 Phase phase = (Phase) tempList.get(i);
35
         %><%=phase.getPhaseName()%><br><%
36
             }
37
         %>
38
         </blockquote>
39
         <b>InFaultFlow </b>
40
         <blockquote>
41
         <%
42
             tempList = phases.getGlobalInFaultPhases();
43
             for (int i = 0; i < tempList.size(); i++) {
44
                 Phase phase = (Phase) tempList.get(i);
45
         %><%=phase.getPhaseName()%><br><%
46
             }
47
         %>
48
         </blockquote>
49
         <b>OutFlow </b>
50
         <blockquote>
51
         <%
52
             tempList = phases.getGlobalOutPhaseList();
53
             for (int i = 0; i < tempList.size(); i++) {
54
                 Phase phase = (Phase) tempList.get(i);
55
         %><%=phase.getPhaseName()%><br><%
56
             }
57
         %>
58
         </blockquote>
59
         <b>OutFaultFlow </b>
60
         <blockquote>
61
         <%
62
             tempList = phases.getOUT_FaultPhases();
63
             for (int i = 0; i < tempList.size(); i++) {
64
                 Phase phase = (Phase) tempList.get(i);
65
         %><%=phase.getPhaseName()%><br><%
66
             }
67
         %>
68
         </blockquote>
69
         <br>
70
         <h2><font color="blue">User Defined Phases</font></h2>
71
         <b>Inflow after Dispatcher</b>
72
         <blockquote>
73
         <%
74
             tempList = phases.getOperationInPhases();
75
             for (int i = 0; i < tempList.size(); i++) {
76
                 Phase phase = (Phase) tempList.get(i);
77
         %><%=phase.getPhaseName()%><br><%
78
             }
79
         %>
80
         </blockquote>
81
         <b>InFaultFlow after Dispatcher</b>
82
         <blockquote>
83
         <%
84
             tempList = phases.getOperationInFaultPhases();
85
             for (int i = 0; i < tempList.size(); i++) {
86
                 Phase phase = (Phase) tempList.get(i);
87
         %><%=phase.getPhaseName()%><br><%
88
             }
89
         %>
90
         </blockquote>
91
         <b>OutFlow  </b>
92
         <blockquote>
93
         <%
94
             tempList = phases.getOperationOutPhases();
95
             for (int i = 0; i < tempList.size(); i++) {
96
                 Phase phase = (Phase) tempList.get(i);
97
         %><%=phase.getPhaseName()%><br><%
98
             }
99
         %>
100
         </blockquote>
101
         <b>OutFaultFlow </b>
102
         <blockquote>
103
         <%
104
             tempList = phases.getOperationOutFaultPhases();
105
             for (int i = 0; i < tempList.size(); i++) {
106
                 Phase phase = (Phase) tempList.get(i);
107
         %><%=phase.getPhaseName()%><br><%
108
             }
109
         %>
110
         </blockquote>
111
<jsp:include page="include/adminfooter.inc"></jsp:include>