Author: asoldano
Date: 2013-12-05 19:46:54 -0500 (Thu, 05 Dec 2013)
New Revision: 18146
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfigMBean.java
Log:
- [JBWS-3708] Removing client/endpoint config stuff from AbstractServerConfigMBean (it was
not working properly anyway and the JMX management approach is not suggested for these
things)
- Removing a useless objectname
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2013-12-06
00:43:37 UTC (rev 18145)
+++
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2013-12-06
00:46:54 UTC (rev 18146)
@@ -30,9 +30,7 @@
import java.util.concurrent.CopyOnWriteArrayList;
import javax.management.MBeanServer;
-import javax.management.ObjectName;
-import org.jboss.ws.common.ObjectNameFactory;
import org.jboss.ws.common.utils.AddressUtils;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.WSFException;
@@ -62,12 +60,6 @@
*/
public abstract class AbstractServerConfig implements AbstractServerConfigMBean,
ServerConfig
{
- protected static final ObjectName OBJECT_NAME_SERVER_CONFIG;
- static
- {
- OBJECT_NAME_SERVER_CONFIG =
ObjectNameFactory.create("jboss.system:type=ServerConfig");
- }
-
// The MBeanServer
private volatile MBeanServer mbeanServer;
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfigMBean.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfigMBean.java 2013-12-06
00:43:37 UTC (rev 18145)
+++
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfigMBean.java 2013-12-06
00:46:54 UTC (rev 18146)
@@ -21,13 +21,41 @@
*/
package org.jboss.ws.common.management;
+import java.io.File;
+import java.net.UnknownHostException;
+
import javax.management.ObjectName;
import org.jboss.ws.common.ObjectNameFactory;
-import org.jboss.wsf.spi.management.ServerConfig;
-public interface AbstractServerConfigMBean extends ServerConfig
+public interface AbstractServerConfigMBean
{
/** The object name in the MBean server */
ObjectName OBJECT_NAME =
ObjectNameFactory.create("jboss.ws:service=ServerConfig");
+
+ String getImplementationTitle();
+
+ String getImplementationVersion();
+
+ File getHomeDir();
+
+ File getServerTempDir();
+
+ File getServerDataDir();
+
+ String getWebServiceHost();
+
+ void setWebServiceHost(String host) throws UnknownHostException;
+
+ int getWebServicePort();
+
+ void setWebServicePort(int port);
+
+ int getWebServiceSecurePort();
+
+ void setWebServiceSecurePort(int port);
+
+ boolean isModifySOAPAddress();
+
+ void setModifySOAPAddress(boolean flag);
}
Show replies by date