Adaptor adaptor = clusterDefinition.isRouteAdaptorType() ? clusterDefinition.getAdaptor() : null;
if (adaptor != null)
adaptor.setDispatcher(router);
else {
OutputExecuter outputExecuter = (OutputExecuter) clusterDefinition.getOutputExecuter();
if (outputExecuter != null) {
outputExecuter.setOutputInvoker(container);
}
}
container.startEvictionThread(Cluster.this.clusterDefinition.getEvictionFrequency(), Cluster.this.clusterDefinition.getEvictionTimeUnit());