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.context.ServiceContext" %>
21 <%@ page import="java.util.Iterator" %>
22 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
23 <jsp:include page="include/adminheader.jsp"/>
24 <h1>Running Context Hierarchy</h1>
26 ServiceContext serviceContext = (ServiceContext) request.getSession().getAttribute("ServiceContext");
27 String type = (String) request.getSession().getAttribute("TYPE");
28 if (serviceContext != null) {
30 if ("VIEW".equals(type)) {
31 Iterator propertyNames = serviceContext.getPropertyNames();
33 <h4>Persistance Properties</h4><ul>
35 while (propertyNames.hasNext()) {
36 String key = (String) propertyNames.next();
37 Object property = serviceContext.getProperty(key);
39 <li><%=key%> : <%=property.toString()%></li>
46 %> <h4>No Service Context Found</h4><%
50 <jsp:include page="include/adminfooter.inc"/>