setAttribute(model, ENLISTMENT, connDef.isEnlistment()); final Pool pool = connDef.getPool(); if (pool != null) { setAttribute(model, MAX_POOL_SIZE, pool.getMaxPoolSize()); 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, ENLISTMENT, connDef.isEnlistment()); final Pool pool = connDef.getPool(); if (pool != null) { setAttribute(model, MAX_POOL_SIZE, pool.getMaxPoolSize()); assert connDef.getPool() instanceof XaPool; XaPool xaPool = (XaPool) connDef.getPool(); setAttribute(model, WRAP_XA_RESOURCE, xaPool.isWrapXaResource()); setAttribute(model, SAME_RM_OVERRIDE, xaPool.isSameRmOverride());