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 contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants,
21 org.apache.axis2.description.AxisModule,
22 org.apache.axis2.description.AxisService,
27 <%@ page import="org.apache.axis2.util.Utils" %>
28 <jsp:include page="include/adminheader.jsp"></jsp:include>
30 String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS);
32 <h1>Engage Module for a Service</h1>
34 <p>To engage a module for a axis service,</p>
37 <li>select the module you want to engage</li>
38 <li>select the axis service you like the module to be engaged.</li>
39 <li>click "Engage".</li>
42 <form method="get" name="selectModuleForm" action="axis2-admin/engageToService">
43 <table border="0" width="100%" cellspacing="1" cellpadding="1">
51 <td>Select a Module :</td>
55 <select name="modules">
58 HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
59 request.getSession().setAttribute(Constants.MODULE_MAP,null);
60 Collection moduleCol = moduels.values();
61 for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
62 AxisModule axisOperation = (AxisModule) iterator.next();
63 String modulename = axisOperation.getName();
66 <option align="left" value="<%=modulename%>"><%=modulename%>
82 <td>Select a Service :</td>
86 <select name="axisService">
89 HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
90 Collection serviceCol = services.values();
91 for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
92 AxisService axisService = (AxisService)iterator.next();
93 String serviceName = axisService.getName();
96 <option align="left" value="<%=serviceName%>"><%=serviceName%>
101 request.getSession().setAttribute(Constants.SERVICE_MAP,null);
114 <input name="submit" type="submit" value=" Engage ">
131 <textarea cols="50" <%
132 if (status == null) {
137 ><%=Utils.sanitizeWebOutput(status)%>
143 <jsp:include page="include/adminfooter.inc"></jsp:include>