Mail Archive Home | fractal-commits List | Febuary 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Wednesday, February 22, 2006 @ 14:19:30
Author: seintur
Path: .../off/src/org/objectweb/fractal/aokell/lib/control/lifecycle
Modified: NonCompositeLifeCycleControllerImpl.java
Implementation of componentized membranes modified.
Control-component and component interface names now follow the same rules.
Control-component can thus be manipulated with the Fractal API like any other
regular component.
------------------------------------------+
NonCompositeLifeCycleControllerImpl.java | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
Index:
aokell/features/loggable/off/src/org/objectweb/fractal/aokell/lib/control/lifecycle/NonCompositeLifeCycleControllerImpl.java
diff -u
aokell/features/loggable/off/src/org/objectweb/fractal/aokell/lib/control/lifecycle/NonCompositeLifeCycleControllerImpl.java:1.4
aokell/features/loggable/off/src/org/objectweb/fractal/aokell/lib/control/lifecycle/NonCompositeLifeCycleControllerImpl.java:1.5
---
aokell/features/loggable/off/src/org/objectweb/fractal/aokell/lib/control/lifecycle/NonCompositeLifeCycleControllerImpl.java:1.4
Wed Feb 22 13:35:59 2006
+++
aokell/features/loggable/off/src/org/objectweb/fractal/aokell/lib/control/lifecycle/NonCompositeLifeCycleControllerImpl.java
Wed Feb 22 14:19:30 2006
@@ -21,7 +21,7 @@
* Author: Lionel Seinturier
* Contributors: Romain Rouvoy
*
-----------------------------------------------------------------------------
- * $Id: NonCompositeLifeCycleControllerImpl.java,v 1.4 2006/02/22 12:35:59
seintur Exp $
+ * $Id: NonCompositeLifeCycleControllerImpl.java,v 1.5 2006/02/22 13:19:30
seintur Exp $
*
-----------------------------------------------------------------------------
*/
@@ -32,7 +32,6 @@
import org.objectweb.fractal.aokell.lib.membrane.marker.LifeCycleType;
import org.objectweb.fractal.aokell.lib.util.GlueHelper;
import org.objectweb.fractal.aokell.lib.util.MembraneHelper;
-import org.objectweb.fractal.api.NoSuchInterfaceException;
import org.objectweb.fractal.api.control.IllegalLifeCycleException;
import org.objectweb.fractal.api.control.LifeCycleController;
@@ -109,14 +108,7 @@
private void setIsFcStartedField( boolean value )
throws IllegalLifeCycleException {
- Object content = null;
- try {
- content = compctrl.getFcInterface("/content");
- }
- catch( NoSuchInterfaceException nsie ) {
- throw new RuntimeException(nsie);
- }
-
+ Object content = MembraneHelper.getFcContent(compctrl);
Class contentClass = content.getClass();
/*
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.