Author: alessio.soldano(a)jboss.com
Date: 2009-10-30 08:05:00 -0400 (Fri, 30 Oct 2009)
New Revision: 11075
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java
Log:
[JBPAPP-2743] JBossWS - Make EndpointRegistry available through JMX
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java 2009-10-30
10:35:37 UTC (rev 11074)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java 2009-10-30
12:05:00 UTC (rev 11075)
@@ -83,24 +83,20 @@
}
}
- /*
- * Currently there are no meaningful attributes/operations exposed via JMX
- *
- public void create() throws Exception
- {
- if (mbeanServer != null)
- {
- getMbeanServer().registerMBean(this, OBJECT_NAME);
- }
- }
+ public void create() throws Exception
+ {
+ if (mbeanServer != null)
+ {
+ getMbeanServer().registerMBean(this, OBJECT_NAME);
+ }
+ }
- public void destroy() throws Exception
- {
- log.debug("Destroy service endpoint manager");
- if (mbeanServer != null)
- {
- getMbeanServer().unregisterMBean(OBJECT_NAME);
- }
- }
- */
+ public void destroy() throws Exception
+ {
+ log.debug("Destroy service endpoint manager");
+ if (mbeanServer != null)
+ {
+ getMbeanServer().unregisterMBean(OBJECT_NAME);
+ }
+ }
}
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java 2009-10-30
10:35:37 UTC (rev 11074)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java 2009-10-30
12:05:00 UTC (rev 11075)
@@ -24,12 +24,13 @@
import javax.management.ObjectName;
import org.jboss.wsf.common.ObjectNameFactory;
+import org.jboss.wsf.spi.management.EndpointRegistry;
/**
* MBean interface.
* @since 15-April-2004
*/
-public interface ManagedEndpointRegistryMBean
+public interface ManagedEndpointRegistryMBean extends EndpointRegistry
{
/** The object name in the MBean server */
ObjectName OBJECT_NAME =
ObjectNameFactory.create("jboss.ws:service=EndpointRegistry");
Show replies by date