From 9721eac28b98df830c6fa47a2a44ba56c9aad5ce Mon Sep 17 00:00:00 2001 From: David Turanski Date: Sun, 19 May 2013 10:19:36 -0400 Subject: [PATCH] INT-2984 changed some LocalChannelRegistry methods to protected --- .../integration/channel/registry/LocalChannelRegistry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/channel/registry/LocalChannelRegistry.java b/spring-integration-core/src/main/java/org/springframework/integration/channel/registry/LocalChannelRegistry.java index 928ab1e661..35c960b6a0 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/channel/registry/LocalChannelRegistry.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/channel/registry/LocalChannelRegistry.java @@ -106,7 +106,7 @@ public class LocalChannelRegistry implements ChannelRegistry, ApplicationContext bridge(tapChannel, channel); } - private synchronized T lookupOrCreateSharedChannel(String name, Class requiredType) { + protected synchronized T lookupOrCreateSharedChannel(String name, Class requiredType) { T channel = null; if (applicationContext.containsBean(name)) { try { @@ -123,7 +123,7 @@ public class LocalChannelRegistry implements ChannelRegistry, ApplicationContext return channel; } - private T createSharedChannel(String name, Class requiredType) { + protected T createSharedChannel(String name, Class requiredType) { try { T channel = requiredType.newInstance(); channel.setComponentName(name); @@ -157,7 +157,7 @@ public class LocalChannelRegistry implements ChannelRegistry, ApplicationContext } } - private BridgeHandler bridge(SubscribableChannel from, MessageChannel to) { + protected BridgeHandler bridge(SubscribableChannel from, MessageChannel to) { BridgeHandler handler = new BridgeHandler(); handler.setOutputChannel(to); handler.afterPropertiesSet();