camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1211858 - /camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/
Date Thu, 08 Dec 2011 12:43:38 GMT
Author: davsclaus
Date: Thu Dec  8 12:43:37 2011
New Revision: 1211858

URL: http://svn.apache.org/viewvc?rev=1211858&view=rev
Log:
CAMEL-4468: MBean API should inheirt. Thanks to Marco for the patch.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedBrowsableEndpointMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerCacheMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedDelayerMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedEndpointRegistryMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProcessorMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerCacheMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSchedulePollConsumerMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSendProcessorMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSuspendableRouteMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlerMBean.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlingInflightRoutePolicyMBean.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedBrowsableEndpointMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedBrowsableEndpointMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedBrowsableEndpointMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedBrowsableEndpointMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedBrowsableEndpointMBean {
+public interface ManagedBrowsableEndpointMBean extends ManagedEndpointMBean {
 
     @ManagedOperation(description = "Current number of Exchanges in Queue")
     long queueSize();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerCacheMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerCacheMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerCacheMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerCacheMBean.java
Thu Dec  8 12:43:37 2011
@@ -19,7 +19,7 @@ package org.apache.camel.api.management.
 import org.apache.camel.api.management.ManagedAttribute;
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedConsumerCacheMBean {
+public interface ManagedConsumerCacheMBean extends ManagedServiceMBean {
 
     @ManagedAttribute(description = "Source")
     String getSource();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedConsumerMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedAttribute;
 
-public interface ManagedConsumerMBean {
+public interface ManagedConsumerMBean extends ManagedServiceMBean {
 
     @ManagedAttribute(description = "Endpoint Uri")
     String getEndpointUri();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedDelayerMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedDelayerMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedDelayerMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedDelayerMBean.java
Thu Dec  8 12:43:37 2011
@@ -19,7 +19,7 @@ package org.apache.camel.api.management.
 import org.apache.camel.api.management.ManagedAttribute;
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedDelayerMBean {
+public interface ManagedDelayerMBean extends ManagedProcessorMBean {
 
     @ManagedAttribute(description = "Delay")
     Long getDelay();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedEndpointRegistryMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedEndpointRegistryMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedEndpointRegistryMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedEndpointRegistryMBean.java
Thu Dec  8 12:43:37 2011
@@ -19,7 +19,7 @@ package org.apache.camel.api.management.
 import org.apache.camel.api.management.ManagedAttribute;
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedEndpointRegistryMBean {
+public interface ManagedEndpointRegistryMBean extends ManagedServiceMBean {
 
     @ManagedAttribute(description = "Source")
     String getSource();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProcessorMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProcessorMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProcessorMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProcessorMBean.java
Thu Dec  8 12:43:37 2011
@@ -19,7 +19,7 @@ package org.apache.camel.api.management.
 import org.apache.camel.api.management.ManagedAttribute;
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedProcessorMBean {
+public interface ManagedProcessorMBean extends ManagedPerformanceCounterMBean {
 
     @ManagedAttribute(description = "Processor State")
     String getState();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerCacheMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerCacheMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerCacheMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerCacheMBean.java
Thu Dec  8 12:43:37 2011
@@ -19,7 +19,7 @@ package org.apache.camel.api.management.
 import org.apache.camel.api.management.ManagedAttribute;
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedProducerCacheMBean {
+public interface ManagedProducerCacheMBean extends ManagedServiceMBean {
 
     @ManagedAttribute(description = "Source")
     String getSource();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedProducerMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedAttribute;
 
-public interface ManagedProducerMBean {
+public interface ManagedProducerMBean extends ManagedServiceMBean {
 
     @ManagedAttribute(description = "Endpoint Uri")
     String getEndpointUri();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedRouteMBean.java
Thu Dec  8 12:43:37 2011
@@ -19,7 +19,7 @@ package org.apache.camel.api.management.
 import org.apache.camel.api.management.ManagedAttribute;
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedRouteMBean {
+public interface ManagedRouteMBean extends ManagedPerformanceCounterMBean {
 
     @ManagedAttribute(description = "Route id")
     String getRouteId();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSchedulePollConsumerMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSchedulePollConsumerMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSchedulePollConsumerMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSchedulePollConsumerMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedAttribute;
 
-public interface ManagedSchedulePollConsumerMBean {
+public interface ManagedSchedulePollConsumerMBean extends ManagedConsumerMBean {
 
     @ManagedAttribute(description = "Scheduled Delay")
     long getDelay();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSendProcessorMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSendProcessorMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSendProcessorMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSendProcessorMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedAttribute;
 
-public interface ManagedSendProcessorMBean {
+public interface ManagedSendProcessorMBean extends ManagedProcessorMBean {
 
     @ManagedAttribute(description = "Destination as Endpoint Uri")
     String getDestination();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSuspendableRouteMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSuspendableRouteMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSuspendableRouteMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedSuspendableRouteMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedOperation;
 
-public interface ManagedSuspendableRouteMBean {
+public interface ManagedSuspendableRouteMBean extends ManagedRouteMBean {
 
     @ManagedOperation(description = "Suspend route")
     void suspend() throws Exception;

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlerMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlerMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlerMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlerMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedAttribute;
 
-public interface ManagedThrottlerMBean {
+public interface ManagedThrottlerMBean extends ManagedProcessorMBean {
 
     @ManagedAttribute(description = "Maximum requires per period")
     long getMaximumRequestsPerPeriod();

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlingInflightRoutePolicyMBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlingInflightRoutePolicyMBean.java?rev=1211858&r1=1211857&r2=1211858&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlingInflightRoutePolicyMBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedThrottlingInflightRoutePolicyMBean.java
Thu Dec  8 12:43:37 2011
@@ -18,7 +18,7 @@ package org.apache.camel.api.management.
 
 import org.apache.camel.api.management.ManagedAttribute;
 
-public interface ManagedThrottlingInflightRoutePolicyMBean {
+public interface ManagedThrottlingInflightRoutePolicyMBean extends ManagedServiceMBean {
 
     @ManagedAttribute(description = "Maximum inflight exchanges")
     int getMaxInflightExchanges();



Mime
View raw message