@HandlerOutput(name="advance", type=Map.class)}
)
public static void getConnectorPoolAdvanceInfo(HandlerContext handlerCtx) {
String jndiName = (String) handlerCtx.getInputValue("jndiName");
ConnectorConnectionPoolConfig pool = AMXUtil.getDomainConfig().getConnectorConnectionPoolConfigMap().get(jndiName);
if (pool == null){
GuiUtil.handleError(handlerCtx, GuiUtil.getMessage("msg.noSuchConnectorConnectionPool"));
return;
}
Map advance = new HashMap();
advance.put("validateAtMostOncePeriodInSeconds", pool.getValidateAtMostOncePeriodInSeconds());
advance.put("connectionLeakTimeoutInSeconds", pool.getConnectionLeakTimeoutInSeconds());
advance.put("connectionLeakReclaim", StringToBoolean( pool.getConnectionLeakReclaim()));
advance.put("connectionCreationRetryAttempts", pool.getConnectionCreationRetryAttempts());
advance.put("connectionCreationRetryIntervalInSeconds", pool.getConnectionCreationRetryIntervalInSeconds());
advance.put("lazyConnectionEnlistment", StringToBoolean( pool.getLazyConnectionEnlistment()));
advance.put("lazyConnectionAssociation", StringToBoolean( pool.getLazyConnectionAssociation()));
advance.put("associateWithThread", StringToBoolean( pool.getAssociateWithThread()));
advance.put("matchConnections", StringToBoolean( pool.getMatchConnections()));
advance.put("maxConnectionUsageCount", pool.getMaxConnectionUsageCount());
handlerCtx.setOutputValue("advance", advance);
}