<%@ page contentType="text/html; charset=euc-kr" %>
<jsp:directive.page import="java.util.Hashtable"/>
<jsp:directive.page import="java.util.Enumeration"/>
<jsp:directive.page import="org.kldp.ebmsh.moniter.persistant.EbmsMoniterManager"/>
<jsp:directive.page import="java.util.List"/>
<jsp:directive.page import="org.kldp.ebmsh.moniter.persistant.DocumentIdInfo"/>
<jsp:directive.page import="org.kldp.ebmsh.config.EbmsConstants"/>

<!--검색-->
<table width="100%" border="0" cellpadding="0" cellspacing="1"
	bgcolor="#CDDCED">
	<tr>
		<td
			style="PADDING-LEFT: 10px; PADDING-RIGHT: 20px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px;"
			bgcolor="#FFFFFF">
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td width="15">
						<img src="<%=request.getContextPath()%>/image/search/icon_arrow.gif" width="11" height="11">
					</td>
					<td>
						<span class="style2">Bizbox 환경 정보</span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="5"></td>
	</tr>
	<tr>
		<td style="PADDING-LEFT: 20px; PADDING-RIGHT: 20px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px;" bgcolor="#F7F7F7">
			<div class="ContentArea">
				<div id="EnvironmentBizboxInfo">
					<ul>
						<li><span class="EnvironmentBizboxInfoLabel">Bizbox 설치 경로 </span>: <%=EbmsConstants.bizboxDirectory%></li>
						<li><span class="EnvironmentBizboxInfoLabel">CPA 경로  </span>: <%=EbmsConstants.cpaPath%>
						<li><span class="EnvironmentBizboxInfoLabel">메시지 저장 경로  </span>: <%=EbmsConstants.messagePath%>
						<li><span class="EnvironmentBizboxInfoLabel">Queue connection factory </span>: <%=EbmsConstants.queueConnectionFactoryName%>
						<li><span class="EnvironmentBizboxInfoLabel">Queue JNDI header </span>: <%=EbmsConstants.queueJNDIHeaderName%>
						<li><span class="EnvironmentBizboxInfoLabel">ApplicationResult queue </span>: <%=EbmsConstants.applicationResultQueueName%>
						<li><span class="EnvironmentBizboxInfoLabel">Tracker queue </span>: <%=EbmsConstants.trackerQueueName%>
						<li><span class="EnvironmentBizboxInfoLabel">Datasource </span>: <%=EbmsConstants.dataSourceName%>
					</ul>
				</div>
			</div>
		</td>
	</tr>
</table>

<br/>
	
<table width="100%" border="0" cellpadding="0" cellspacing="1"
	bgcolor="#CDDCED">
	<tr>
		<td
			style="PADDING-LEFT: 10px; PADDING-RIGHT: 20px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px;"
			bgcolor="#FFFFFF">
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td width="15">
						<img src="<%= request.getContextPath() %>/image/search/icon_arrow.gif" width="11" height="11">
					</td>
					<td>
						<span class="style2">관리자 정보</span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="5"></td>
	</tr>
	<tr>
		<td style="PADDING-LEFT: 20px; PADDING-RIGHT: 20px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px;" bgcolor="#F7F7F7">
			<div class="ContentArea">
				<div id="AdminModify">
					<a href="javascript:popup('adminModify.jsp');">비밀번호 변경</a>
				</div>
			</div>
		</td>
	</tr>
</table>

<br/>
	
<!--<table width="100%" border="0" cellpadding="0" cellspacing="1"
	bgcolor="#CDDCED">
	<tr>
		<td
			style="PADDING-LEFT: 10px; PADDING-RIGHT: 20px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px;"
			bgcolor="#FFFFFF">
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td width="15">
						<img src="<%= request.getContextPath() %>/image/search/icon_arrow.gif" width="11" height="11">
					</td>
					<td>
						<span class="style2">DocumentId 정보</span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="5"></td>
	</tr>
	<tr>
		<td style="PADDING-LEFT: 20px; PADDING-RIGHT: 20px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px;" bgcolor="#F7F7F7">
			<div class="ContentArea">
				<div id="DocumentIdInfo">
					<table>
						<tr>
							<th id="Action">Action</th>
							<th id="PayloadIndex">첨부문서 위치</th>
							<th id="XPath">XPath</th>
							<th id="Modify"></th>
							<th id="Delete"></th>
						</tr>
						
						<%
							EbmsMoniterManager manager = new EbmsMoniterManager();
							
							List documentIdInfos = manager.getDocumentIdInfos();
							
							for(int i = 0; i < documentIdInfos.size(); i++) {
								DocumentIdInfo documentIdInfo = (DocumentIdInfo)documentIdInfos.get(i);
						%>	
							<tr>
								<td>
									<%= documentIdInfo.getAction() %>
								</td>
								
								<td>
									<%= documentIdInfo.getPayloadIndex() %>
								</td>
								
								<td>
									<%= documentIdInfo.getXPath() %>
								</td>
								
								<td>
									<a href="javascript:popup('documentIdInfoModify.jsp?action=<%= documentIdInfo.getAction() %>');">수 정</a>
								</td>
								
								<td>
									<a href="documentIdInfoDeleteProcess.jsp?action=<%= documentIdInfo.getAction() %>">삭 제</a>
								</td>
							</tr>
						<%
							}
						%>
						
						<tr>
							<td colspan="5">
								<div id="DocumentIdAdd">
									<a href="javascript:popup('documentIdInfoInsert.jsp');">추 가 </a>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</td>
	</tr>
</table>-->