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.description.AxisModule,
|
---|
22 | java.util.Collection,
|
---|
23 | java.util.HashMap,
|
---|
24 | java.util.Iterator" %>
|
---|
25 | <html>
|
---|
26 | <jsp:include page="include/adminheader.jsp"/>
|
---|
27 | <%
|
---|
28 | String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS);
|
---|
29 | %>
|
---|
30 | <h1>Engage Module Globally</h1>
|
---|
31 |
|
---|
32 | <p>To engage a module on all services across the system, select a module from the combo box below
|
---|
33 | and click on the "Engage" button. Any module that needs to place handlers into the pre-dispatch
|
---|
34 | phase needs to be engaged globally.</p>
|
---|
35 |
|
---|
36 | <form method="get" name="selectModuleForm" action="axis2-admin/engagingglobally">
|
---|
37 | <table border="0" width="100%" cellspacing="1" cellpadding="1">
|
---|
38 | <tr>
|
---|
39 | <td width="15%">Select a Module :</td>
|
---|
40 | <td width="75%" align="left">
|
---|
41 | <select name="modules">
|
---|
42 | <%
|
---|
43 | HashMap moduels = (HashMap) request.getSession().getAttribute(Constants.MODULE_MAP);
|
---|
44 | request.getSession().setAttribute(Constants.MODULE_MAP,null);
|
---|
45 | Collection moduleCol = moduels.values();
|
---|
46 | for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
|
---|
47 | AxisModule axisOperation = (AxisModule) iterator.next();
|
---|
48 | String modulename = axisOperation.getName();
|
---|
49 | %> <option align="left" value="<%=modulename%>"><%=modulename%></option>
|
---|
50 | <%
|
---|
51 | }
|
---|
52 | %>
|
---|
53 | </select>
|
---|
54 | </td>
|
---|
55 | </tr>
|
---|
56 | <tr><td> </td>
|
---|
57 | <td>
|
---|
58 | <input name="submit" type="submit" value=" Engage ">
|
---|
59 | </td>
|
---|
60 | </tr>
|
---|
61 | </table>
|
---|
62 | </form>
|
---|
63 | <%
|
---|
64 | if (status != null) {
|
---|
65 | %>
|
---|
66 | <p><font color="blue"><%=status%></font></p>
|
---|
67 | <%
|
---|
68 | } %>
|
---|
69 | <jsp:include page="include/adminfooter.inc"/>
|
---|