[jboss-cvs] JBossAS SVN: r90088 - projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 11 09:00:22 EDT 2009


Author: emuckenhuber
Date: 2009-06-11 09:00:22 -0400 (Thu, 11 Jun 2009)
New Revision: 90088

Modified:
   projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/DelegatingComponentDispatcher.java
Log:
[JBAS-6939] add updateRunState to the DelgateComponentDispatcher.

Modified: projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/DelegatingComponentDispatcher.java
===================================================================
--- projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/DelegatingComponentDispatcher.java	2009-06-11 12:55:59 UTC (rev 90087)
+++ projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/DelegatingComponentDispatcher.java	2009-06-11 13:00:22 UTC (rev 90088)
@@ -21,6 +21,7 @@
  */
 package org.jboss.deployers.spi.management;
 
+import org.jboss.managed.api.RunState;
 import org.jboss.metatype.api.values.MetaValue;
 
 /**
@@ -41,7 +42,7 @@
     * @param propertyName - property name
     * @return wrapped MetaValue view of the property value
     */
-   public MetaValue get(Long propID, Object componentName, String propertyName);
+   MetaValue get(Long propID, Object componentName, String propertyName);
 
    /**
     * Invoke an operation on a runtime component.
@@ -52,5 +53,13 @@
     * @param param - the wrapped parameters for the invocation
     * @return wrapped MetaValue view of the operation result
     */
-   public MetaValue invoke(Long opID, Object componentName, String methodName, MetaValue... param);
+   MetaValue invoke(Long opID, Object componentName, String methodName, MetaValue... param);
+   
+   /**
+    * Get the current RunState of the component.
+    * 
+    * @param componentName - runtime component name
+    * @return the run state
+    */
+   RunState updateRunState(Object componentName); 
 }




More information about the jboss-cvs-commits mailing list