else
handlerCtx.setOutputValue("enabled", TargetUtil.isResourceEnabled(customRes, "server" ));
Map<String, String> props = customRes.getProperties();
handlerCtx.setOutputValue("Properties", props);
} else{
JNDIResourceConfig jndiRes = AMXUtil.getDomainConfig().getJNDIResourceConfigMap().get(jndiName);
if (jndiRes == null) {
GuiUtil.handleError(handlerCtx, GuiUtil.getMessage("msg.NoSuchExternalResource"));
return;
}
resType = jndiRes.getResType();
factoryClass = jndiRes.getFactoryClass();
description = jndiRes.getDescription();
handlerCtx.setOutputValue("jndiLookupName", jndiRes.getJNDILookupName());
if(AMXUtil.isEE())
handlerCtx.setOutputValue("enabledString", TargetUtil.getEnabledStatus(jndiRes, false));
else
handlerCtx.setOutputValue("enabled", TargetUtil.isResourceEnabled(jndiRes, "server" ));
Map<String, String> props = jndiRes.getProperties();
handlerCtx.setOutputValue("Properties", props);
}
handlerCtx.setOutputValue("resType", resType);
handlerCtx.setOutputValue("factoryClass", factoryClass);