[jboss-cvs] microkernel/src/main/org/jboss/kernel/plugins/dependency ...
Adrian Brock
adrian.brock at jboss.com
Fri Jul 14 07:31:19 EDT 2006
User: adrian
Date: 06/07/14 07:31:19
Modified: src/main/org/jboss/kernel/plugins/dependency
KernelControllerContextActions.java
Log:
Missed a bit of generification.
Revision Changes Path
1.29 +7 -4 microkernel/src/main/org/jboss/kernel/plugins/dependency/KernelControllerContextActions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: KernelControllerContextActions.java
===================================================================
RCS file: /cvsroot/jboss/microkernel/src/main/org/jboss/kernel/plugins/dependency/KernelControllerContextActions.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- KernelControllerContextActions.java 11 Jul 2006 12:08:43 -0000 1.28
+++ KernelControllerContextActions.java 14 Jul 2006 11:31:19 -0000 1.29
@@ -25,6 +25,7 @@
import java.util.Map;
import org.jboss.dependency.plugins.AbstractControllerContextActions;
+import org.jboss.dependency.plugins.spi.action.ControllerContextAction;
import org.jboss.dependency.spi.ControllerState;
/**
@@ -36,7 +37,7 @@
* Otherwise, we just use the caller's privileges.
*
* @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.28 $
+ * @version $Revision: 1.29 $
*/
public class KernelControllerContextActions extends AbstractControllerContextActions
{
@@ -55,7 +56,7 @@
{
if (instance == null)
{
- Map<ControllerState, KernelControllerContextAction> actions = new HashMap<ControllerState, KernelControllerContextAction>();
+ Map<ControllerState, ControllerContextAction> actions = new HashMap<ControllerState, ControllerContextAction>();
actions.put(ControllerState.DESCRIBED, new DescribeAction());
actions.put(ControllerState.INSTANTIATED, new InstantiateAction());
actions.put(ControllerState.CONFIGURED, new ConfigureAction());
@@ -76,7 +77,7 @@
{
if (noInstantiate == null)
{
- Map<ControllerState, KernelControllerContextAction> actions = new HashMap<ControllerState, KernelControllerContextAction>();
+ Map<ControllerState, ControllerContextAction> actions = new HashMap<ControllerState, ControllerContextAction>();
actions.put(ControllerState.DESCRIBED, new DescribeAction());
actions.put(ControllerState.CONFIGURED, new ConfigureAction());
actions.put(ControllerState.CREATE, new CreateDestroyLifecycleAction());
@@ -89,8 +90,10 @@
/**
* Create a new KernelControllerContextActions.
+ *
+ * @param actions the actions
*/
- protected KernelControllerContextActions(Map actions)
+ protected KernelControllerContextActions(Map<ControllerState, ControllerContextAction> actions)
{
super(actions);
}
More information about the jboss-cvs-commits
mailing list