Author: jim.ma
Date: 2015-03-16 05:56:14 -0400 (Mon, 16 Mar 2015)
New Revision: 19570
Modified:
spi/branches/management/src/main/java/org/jboss/wsf/spi/deployment/RuntimeConfig.java
spi/branches/management/src/main/java/org/jboss/wsf/spi/invocation/InvocationContext.java
Log:
[JBWS-3880]:Add more apis to RuntimeConfig interface
Modified:
spi/branches/management/src/main/java/org/jboss/wsf/spi/deployment/RuntimeConfig.java
===================================================================
---
spi/branches/management/src/main/java/org/jboss/wsf/spi/deployment/RuntimeConfig.java 2015-03-16
09:53:57 UTC (rev 19569)
+++
spi/branches/management/src/main/java/org/jboss/wsf/spi/deployment/RuntimeConfig.java 2015-03-16
09:56:14 UTC (rev 19570)
@@ -22,23 +22,29 @@
package org.jboss.wsf.spi.deployment;
import java.util.Map;
+import java.util.Set;
+
/**
* Runtime config interface to allow change various property in runtime
* @author <a href="mailto:ema@redhat.com">Jim Ma</a>
*
*/
-public interface RuntimeConfig {
- static final String STATISTICS_ENABLED = "statistics-enabled";
- /** Get runtime changeable property */
- String getRuntimeProperty(String key);
+public interface RuntimeConfig
+{
+ static final String STATISTICS_ENABLED = "statistics-enabled";
- /** Set runtime changeable property */
- void setRuntimeProperty(String key, String value);
+ /** Get runtime changeable property */
+ String getRuntimeProperty(String key);
- /** Remove a runtime changeable property */
- void removeRuntimeProperty(String key);
+ /** Set runtime changeable property */
+ void setRuntimeProperty(String key, String value);
- /** Get the set of runtime changeable property names */
- Map<String, String> getRuntimeProperties();
+ /** Remove a runtime changeable property */
+ void removeRuntimeProperty(String key);
+ /** Get the set of runtime changeable property names */
+ Map<String, String> getRuntimeProperties();
+ /** Get the runtime config name set that can be get/set*/
+ Set<String> getRuntimeConfigFlags();
+
}
Modified:
spi/branches/management/src/main/java/org/jboss/wsf/spi/invocation/InvocationContext.java
===================================================================
---
spi/branches/management/src/main/java/org/jboss/wsf/spi/invocation/InvocationContext.java 2015-03-16
09:53:57 UTC (rev 19569)
+++
spi/branches/management/src/main/java/org/jboss/wsf/spi/invocation/InvocationContext.java 2015-03-16
09:56:14 UTC (rev 19570)
@@ -21,6 +21,8 @@
*/
package org.jboss.wsf.spi.invocation;
+import java.util.Set;
+
import org.jboss.wsf.spi.deployment.AbstractExtensible;
/**
@@ -47,4 +49,11 @@
this.targetBean = targetBean;
}
+
+ public Set<String> getRuntimeConfigFlags()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
}