You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ky...@apache.org on 2005/02/24 17:06:44 UTC
svn commit: r155195 -
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBeanContext.java
Author: kylem
Date: Thu Feb 24 08:06:42 2005
New Revision: 155195
URL: http://svn.apache.org/viewcvs?view=rev&rev=155195
Log:
Modified handling of the (now expected) case where a service is revoked due to a change in
parent context. Resolves BEEHIVE-305.
Modified:
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBeanContext.java
Modified: incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBeanContext.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBeanContext.java?view=diff&r1=155194&r2=155195
==============================================================================
--- incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBeanContext.java (original)
+++ incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBeanContext.java Thu Feb 24 08:06:42 2005
@@ -143,9 +143,9 @@
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
{
//
- // This is currently unexpected...
+ // This can happen, if the control is disassociated from a parent context that is
+ // providing services.
//
- throw new ControlException("Unexpected service revocation: " + bcsre.getServiceClass());
}
/**