QUALITY: moved ControlBus to avoid cyclic dependency

This commit is contained in:
Iwein Fuld
2010-10-21 18:08:20 +02:00
parent 804485e30f
commit 064b86b29c
7 changed files with 9 additions and 10 deletions

View File

@@ -14,9 +14,7 @@
* limitations under the License.
*/
package org.springframework.integration.control;
import javax.management.MBeanServer;
package org.springframework.integration.jmx;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
@@ -26,12 +24,12 @@ import org.springframework.beans.factory.ListableBeanFactory;
import org.springframework.integration.Message;
import org.springframework.integration.MessageHeaders;
import org.springframework.integration.core.SubscribableChannel;
import org.springframework.integration.jmx.JmxHeaders;
import org.springframework.integration.jmx.OperationInvokingMessageHandler;
import org.springframework.integration.monitor.ObjectNameLocator;
import org.springframework.integration.support.MessageBuilder;
import org.springframework.util.Assert;
import javax.management.MBeanServer;
/**
* JMX-based Control Bus implementation. Routes control messages on an operation channel to the other control points
* (channels and handlers) via JMX. To use the control bus send a message to the operation channel with a header

View File

@@ -17,7 +17,7 @@ package org.springframework.integration.jmx.config;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.integration.channel.DirectChannel;
import org.springframework.integration.control.ControlBus;
import org.springframework.integration.jmx.ControlBus;
import org.springframework.integration.core.SubscribableChannel;
import org.springframework.integration.monitor.IntegrationMBeanExporter;