if (pool == null || pool.getCapacity() == null || pool.getCapacity().getIncrementer() == null) return; final Map<String, String> propertiesMap = pool.getCapacity().getIncrementer().getConfigPropertiesMap(); if (propertiesMap == null) { return; if (pool == null || pool.getCapacity() == null || pool.getCapacity().getDecrementer() == null) return; final Map<String, String> propertiesMap = pool.getCapacity().getDecrementer().getConfigPropertiesMap(); if (propertiesMap == null) { return;
assert connDef.getPool() instanceof XaPool; XaPool xaPool = (XaPool) connDef.getPool(); setAttribute(model, WRAP_XA_RESOURCE, xaPool.isWrapXaResource()); setAttribute(model, SAME_RM_OVERRIDE, xaPool.isSameRmOverride()); setAttribute(model, PAD_XID, xaPool.isPadXid()); setAttribute(model, INTERLEAVING, xaPool.isInterleaving()); setAttribute(model, NOTXSEPARATEPOOL, xaPool.isNoTxSeparatePool());
assert connDef.getPool() instanceof XaPool; XaPool xaPool = (XaPool) connDef.getPool(); setAttribute(model, WRAP_XA_RESOURCE, xaPool.isWrapXaResource()); setAttribute(model, SAME_RM_OVERRIDE, xaPool.isSameRmOverride()); setAttribute(model, PAD_XID, xaPool.isPadXid()); setAttribute(model, INTERLEAVING, xaPool.isInterleaving()); setAttribute(model, NOTXSEPARATEPOOL, xaPool.isNoTxSeparatePool());
if (pool == null || pool.getCapacity() == null || pool.getCapacity().getIncrementer() == null) return; final Map<String, String> propertiesMap = pool.getCapacity().getIncrementer().getConfigPropertiesMap(); if (propertiesMap == null) { return; if (pool == null || pool.getCapacity() == null || pool.getCapacity().getDecrementer() == null) return; final Map<String, String> propertiesMap = pool.getCapacity().getDecrementer().getConfigPropertiesMap(); if (propertiesMap == null) { return;