@HandlerOutput(name="isIsolationLevelGuaranteed", type=Boolean.class)}
)
public static void getJdbcConnectionPoolDefaultInfo(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"));
return;
}
handlerCtx.setOutputValue("resType", pool.getDefaultValue("ResType"));
handlerCtx.setOutputValue("description", pool.getDefaultValue("Description"));
handlerCtx.setOutputValue("steadyPoolSize", pool.getDefaultValue("SteadyPoolSize"));
handlerCtx.setOutputValue("maxPoolSize", pool.getDefaultValue("MaxPoolSize"));
handlerCtx.setOutputValue("poolResizeQuantity", pool.getDefaultValue("PoolResizeQuantity"));
handlerCtx.setOutputValue("idleTimeoutInSeconds", pool.getDefaultValue("IdleTimeoutInSeconds"));
handlerCtx.setOutputValue("maxWaitTimeInMillis", pool.getDefaultValue("MaxWaitTimeInMillis"));
handlerCtx.setOutputValue("isConnectionValidationRequired", pool.getDefaultValue("IsConnectionValidationRequired"));
handlerCtx.setOutputValue("connectionValidationMethod", pool.getDefaultValue("ConnectionValidationMethod"));
handlerCtx.setOutputValue("validationTableName", pool.getDefaultValue("ValidationTableName"));
handlerCtx.setOutputValue("failAllConnections", pool.getDefaultValue("FailAllConnections"));
handlerCtx.setOutputValue("allowNonComponentCallers", pool.getDefaultValue("AllowNonComponentCallers"));
handlerCtx.setOutputValue("nonTransactionalConnections", pool.getDefaultValue("NonTransactionalConnections"));
handlerCtx.setOutputValue("transactionIsolationLevel", pool.getDefaultValue("TransactionIsolationLevel"));
handlerCtx.setOutputValue("isIsolationLevelGuaranteed", pool.getDefaultValue("IsIsolationLevelGuaranteed"));
}