@HandlerOutput(name="isIsolationLevelGuaranteed", type=Boolean.class)}
)
public static void getJdbcConnectionPoolInfo(HandlerContext handlerCtx) {
String jndiName = (String) handlerCtx.getInputValue("jndiName");
JDBCConnectionPoolConfig pool = AMXUtil.getDomainConfig().getJDBCConnectionPoolConfigMap().get(jndiName);
if (pool == null){
GuiUtil.handleError(handlerCtx, GuiUtil.getMessage("msg.noSuchJDBCConnectionPool"));
}
handlerCtx.setOutputValue("datasourceClassname", pool.getDatasourceClassname());
handlerCtx.setOutputValue("resType", pool.getResType());
handlerCtx.setOutputValue("description", pool.getDescription());
handlerCtx.setOutputValue("steadyPoolSize", pool.getSteadyPoolSize());
handlerCtx.setOutputValue("maxPoolSize", pool.getMaxPoolSize());
handlerCtx.setOutputValue("poolResizeQuantity", pool.getPoolResizeQuantity());
handlerCtx.setOutputValue("idleTimeoutInSeconds", pool.getIdleTimeoutInSeconds());
handlerCtx.setOutputValue("maxWaitTimeInMillis", pool.getMaxWaitTimeInMillis());
handlerCtx.setOutputValue("isConnectionValidationRequired", pool.getIsConnectionValidationRequired());
handlerCtx.setOutputValue("connectionValidationMethod", pool.getConnectionValidationMethod());
handlerCtx.setOutputValue("validationTableName", pool.getValidationTableName());
handlerCtx.setOutputValue("failAllConnections", pool.getFailAllConnections());
handlerCtx.setOutputValue("allowNonComponentCallers", pool.getAllowNonComponentCallers());
handlerCtx.setOutputValue("nonTransactionalConnections", pool.getNonTransactionalConnections());
handlerCtx.setOutputValue("transactionIsolationLevel", pool.getTransactionIsolationLevel());
handlerCtx.setOutputValue("isIsolationLevelGuaranteed", pool.getIsIsolationLevelGuaranteed());
}