web.inbound.index.jsp Maven / Gradle / Ivy
<%@ page import="org.wso2.carbon.inbound.ui.internal.InboundClientConstants"%>
<%@ page import="org.wso2.carbon.inbound.ui.internal.InboundDescription"%>
<%@ page import="org.wso2.carbon.inbound.ui.internal.InboundManagementClient" %>
<%@ page import="java.util.List" %>
<%@ page import="org.wso2.carbon.CarbonConstants" %>
<%@ page import="java.util.Collections" %>
<%@ page import="java.util.Comparator" %>
<%@ page import="org.owasp.encoder.Encode" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
<%
InboundManagementClient client;
try {
client = InboundManagementClient.getInstance(config, session);
List descriptions = client.getAllInboundDescriptions();
if (descriptions != null && !descriptions.isEmpty()) {
%>
<%
for (InboundDescription inboundDescription : descriptions) {
if (inboundDescription != null) {
String name = inboundDescription.getName();
%>
<% if (inboundDescription.getArtifactContainerName() != null) { %>
<% } %>
<%=Encode.forHtmlContent(name)%>
<% if (inboundDescription.getIsEdited()) { %>
( Edited )
<% } %>
<% if (inboundDescription.getStatisticsEnable()) { %>
<% } else { %>
<% } %>
<% if (inboundDescription.getTracingEnable()) { %>
<% } else { %>
<% } %>
<%
}
}
%>
<%} else {%>
<%}%>
<%
} catch (Throwable e) {
request.getSession().setAttribute(InboundClientConstants.EXCEPTION, e);
%>
<%
}
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy