[jboss-cvs] JBossAS SVN: r88960 - 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
Fri May 15 16:45:31 EDT 2009


Author: scott.stark at jboss.org
Date: 2009-05-15 16:45:31 -0400 (Fri, 15 May 2009)
New Revision: 88960

Modified:
   projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/RuntimeComponentDispatcher.java
Log:
JBAS-6927, add a mapControllerState method

Modified: projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/RuntimeComponentDispatcher.java
===================================================================
--- projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/RuntimeComponentDispatcher.java	2009-05-15 20:43:25 UTC (rev 88959)
+++ projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/RuntimeComponentDispatcher.java	2009-05-15 20:45:31 UTC (rev 88960)
@@ -60,4 +60,15 @@
     * @return runtime component's return value
     */
    Object invoke(Object componentName, String methodName, MetaValue... param);
+   
+   /**
+    * Map the state of the component.
+    * 
+    * @param <T> the state enum
+    * @param name the component name
+    * @param mapper the state mapper
+    * @return the mapped state
+    */
+   <T extends Enum<?>> T mapControllerState(Object name, ContextStateMapper<T> mapper);
+
 }




More information about the jboss-cvs-commits mailing list