[jboss-cvs] JBossAS SVN: r91875 - projects/kernel/trunk/dependency/src/main/java/org/jboss/dependency/plugins.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 31 10:26:18 EDT 2009


Author: kabir.khan at jboss.com
Date: 2009-07-31 10:26:15 -0400 (Fri, 31 Jul 2009)
New Revision: 91875

Removed:
   projects/kernel/trunk/dependency/src/main/java/org/jboss/dependency/plugins/PushControllerStateModel.java
Log:
[JBKERNEL-25] PushControllerStateModel should not have been committed

Deleted: projects/kernel/trunk/dependency/src/main/java/org/jboss/dependency/plugins/PushControllerStateModel.java
===================================================================
--- projects/kernel/trunk/dependency/src/main/java/org/jboss/dependency/plugins/PushControllerStateModel.java	2009-07-31 12:59:05 UTC (rev 91874)
+++ projects/kernel/trunk/dependency/src/main/java/org/jboss/dependency/plugins/PushControllerStateModel.java	2009-07-31 14:26:15 UTC (rev 91875)
@@ -1,52 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source.
-* Copyright 2006, Red Hat Middleware LLC, and individual contributors
-* as indicated by the @author tags. See the copyright.txt file in the
-* distribution for a full listing of individual contributors. 
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/ 
-package org.jboss.dependency.plugins;
-
-import org.jboss.dependency.spi.ControllerStateModel;
-
-/**
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 1.1 $
- */
-public class PushControllerStateModel
-{
-   private static ThreadLocal<ControllerStateModel> controllerStateModel = new ThreadLocal<ControllerStateModel>();
-   
-   public static void push(ControllerStateModel model)
-   {
-      controllerStateModel.set(model);
-   }
-   
-   public static ControllerStateModel peek()
-   {
-      return controllerStateModel.get();
-   }
-   
-   public static ControllerStateModel pop()
-   {
-      ControllerStateModel model = peek();
-      controllerStateModel.remove();
-      return model;
-   }
-   
-}




More information about the jboss-cvs-commits mailing list