Author: alessio.soldano(a)jboss.com
Date: 2007-10-07 08:05:28 -0400 (Sun, 07 Oct 2007)
New Revision: 4688
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java
Log:
[JBWS-1806] Exposing EndpointRegistry
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java 2007-10-07
11:40:29 UTC (rev 4687)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistry.java 2007-10-07
12:05:28 UTC (rev 4688)
@@ -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/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java 2007-10-07
11:40:29 UTC (rev 4687)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ManagedEndpointRegistryMBean.java 2007-10-07
12:05:28 UTC (rev 4688)
@@ -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