ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT, String.valueOf(getBlockingTimeout())));
if (getBlockingTimeout() != FBPoolingDefaults.DEFAULT_BLOCKING_TIMEOUT) ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT, String.valueOf(getBlockingTimeout())));
    public Reference getDefaultReference() {        Reference ref = new Reference(getClass().getName());                ref.add(new StringRefAddr(REF_BLOCKING_TIMEOUT,             String.valueOf(getBlockingTimeout())));        if (getDatabase() != null)                        ref.add(new StringRefAddr(REF_DATABASE, getDatabase()));                    ref.add(new StringRefAddr(REF_IDLE_TIMEOUT,            String.valueOf(getIdleTimeout())));                    ref.add(new StringRefAddr(REF_LOGIN_TIMEOUT,            String.valueOf(getLoginTimeout())));                    ref.add(new StringRefAddr(REF_MAX_SIZE,             String.valueOf(getMaxConnections())));                    ref.add(new StringRefAddr(REF_MIN_SIZE,            String.valueOf(getMinConnections())));                    ref.add(new StringRefAddr(REF_PING_INTERVAL,             String.valueOf(getPingInterval())));                    if (getType() != null)            ref.add(new StringRefAddr(REF_TYPE, getType()));                    byte[] data = serialize(getProperties());        ref.add(new BinaryRefAddr(PROPERTIES, data));        return ref;    }