if (getIdleTimeout() != FBPoolingDefaults.DEFAULT_IDLE_TIMEOUT) ref.add(new StringRefAddr(REF_IDLE_TIMEOUT, String.valueOf(getIdleTimeout())));
if (getMaxIdleTime() != FBPoolingDefaults.DEFAULT_IDLE_TIMEOUT) ref.add(new StringRefAddr(REF_MAX_IDLE_TIME, String.valueOf(getMaxIdleTime())));
    public Reference getDefaultReference() {        Reference ref = new Reference(getClass().getName(),                 getClass().getName(), null);                if (getBlockingTimeout() != FBPoolingDefaults.DEFAULT_BLOCKING_TIMEOUT)            ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT,                 String.valueOf(getBlockingTimeout())));        if (getDatabase() != null)                        ref.add(new StringRefAddr(REF_DATABASE, getDatabase()));                    if (getDescription() != null)            ref.add(new StringRefAddr(REF_DESCRIPTION, getDescription()));                  if (getIdleTimeout() != FBPoolingDefaults.DEFAULT_IDLE_TIMEOUT)            ref.add(new StringRefAddr(REF_IDLE_TIMEOUT,                String.valueOf(getIdleTimeout())));                    if (getLoginTimeout() != FBPoolingDefaults.DEFAULT_LOGIN_TIMEOUT)            ref.add(new StringRefAddr(REF_LOGIN_TIMEOUT,                String.valueOf(getLoginTimeout())));        if (getMaxConnections() != FBPoolingDefaults.DEFAULT_MAX_SIZE)            ref.add(new StringRefAddr(REF_MAX_SIZE,                 String.valueOf(getMaxConnections())));        if (getMinConnections() != FBPoolingDefaults.DEFAULT_MIN_SIZE)            ref.add(new StringRefAddr(REF_MIN_SIZE,                String.valueOf(getMinConnections())));        if (getPingInterval() != FBPoolingDefaults.DEFAULT_PING_INTERVAL)            ref.add(new StringRefAddr(REF_PING_INTERVAL,                 String.valueOf(getPingInterval())));                if (getType() != null)       	    ref.add(new StringRefAddr(REF_TYPE, getType()));                if (getTransactionIsolationLevel() != FBPoolingDefaults.DEFAULT_ISOLATION)            ref.add(new StringRefAddr(REF_TX_ISOLATION,                 String.valueOf(getTransactionIsolationLevel())));                byte[] data =             BasicAbstractConnectionPool.serialize(getPool().getProperties());        ref.add(new BinaryRefAddr(REF_PROPERTIES, data));                return ref;    }