@Override protected void validate() { super.validate(); if (isInstantiatable()) { greaterThanZero(this, "interval", getInterval()); } } }
@Override protected void validate() { super.validate(); greaterThanZero(this, "size", getSize()); }
protected SocketOptionsConfig createSocketOptionsConfig() { return getSocketOptions() != null ? getSocketOptions().toConfig() : null; }
private static String determineBeanName(final Object xbean) { final String tag = determineTagNameForBean(xbean); if (xbean instanceof NamedXBean) { return tag + "[" + ((NamedXBean) xbean).getName() + "]"; } else { return tag; } }
protected HttpConnectionPoolConfig createConnectionPoolConfig() { return getConnectionPool() != null ? getConnectionPool().toConfig() : null; } protected URL parseUrl() {
@Override protected void validate() { super.validate(); if (isInstantiatable()) { greaterThanZero(this, "interval", getInterval()); } } }
@Override protected void validate() { super.validate(); greaterThanZero(this, "size", getSize()); }
private static String determineBeanName(final Object xbean) { final String tag = determineTagNameForBean(xbean); if (xbean instanceof NamedXBean) { return tag + "[" + ((NamedXBean) xbean).getName() + "]"; } else { return tag; } }
protected HttpConnectionPoolConfig createConnectionPoolConfig() { return getConnectionPool() != null ? getConnectionPool().toConfig() : null; } protected URL parseUrl() {