List of usage examples for org.springframework.integration.ip.tcp.connection AbstractClientConnectionFactory isSingleUse
public boolean isSingleUse()
From source file:org.springframework.integration.ip.tcp.connection.FailoverClientConnectionFactory.java
@Override protected void onInit() throws Exception { super.onInit(); for (AbstractClientConnectionFactory factory : factories) { Assert.state(!(this.isSingleUse() ^ factory.isSingleUse()), "Inconsistent singleUse - delegate factories must match this one"); }// www . jav a 2 s .c om }