geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r732537 - /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
Date Wed, 07 Jan 2009 22:20:16 GMT
Author: dwoods
Date: Wed Jan  7 14:20:16 2009
New Revision: 732537

URL: http://svn.apache.org/viewvc?rev=732537&view=rev
Log:
GERONIMO-4495 Invoking stop method on a gbean whose instancestate is destoryed caused that
gbean in the stopping state.  Patch provided by Ivan (xuhaihong).

Modified:
    geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java

Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java?rev=732537&r1=732536&r2=732537&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
Wed Jan  7 14:20:16 2009
@@ -153,7 +153,7 @@
         State originalState;
         synchronized (this) {
             originalState = getStateInstance();
-            if (originalState == State.STOPPED) {
+            if (originalState == State.STOPPED || originalState == State.FAILED) {
                 return;
             }
 



Mime
View raw message