public void unbindFc(final java.lang.String arg0) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } impl.unbindFc(arg0); }
public void unbindFc(final java.lang.String arg0) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } impl.unbindFc(arg0); }
public void unbindFc(final java.lang.String arg0) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } impl.unbindFc(arg0); }
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#unbindFc(java.lang.String) */ private void unbindFc$3(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((fcContent) == (this)) { ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)).unbindFcContent(clientItfName); }else { ((org.objectweb.fractal.api.control.BindingController) (fcContent)).unbindFc(clientItfName); } }
public void unbindFc (final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).unbindFcContent(clientItfName); } else { ((BindingController)fcContent).unbindFc(clientItfName); } }
public void unbindFc (final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).unbindFcContent(clientItfName); } else { ((BindingController)fcContent).unbindFc(clientItfName); } }
public void unbindFc(final InterfaceType clientItfType, final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { _super_unbindFc(clientItfType, clientItfName); final Interface innerItf = fcExportedInterfaces.get(clientItfType .getFcItfName()); if (innerItf != null) { // the interface correspond to an exported collection interface. final String suffix = clientItfName.substring(clientItfType .getFcItfName().length()); getBindingController(innerItf.getFcItfOwner()) .unbindFc(innerItf + suffix); } }
/** * Undind the component and then calls the overriden method. */ public void undeploy() throws UndeploymentException { if (_this_weaveableBC != null) { String[] itfs = _this_weaveableBC.listFc(); if (itfs.length != 0) { for (int i = 0; i < itfs.length; i++) { try { if (_this_weaveableBC.lookupFc(itfs[i]) != null) { _this_weaveableBC.unbindFc(itfs[i]); } } catch (Exception e) { throw new ChainedUndeploymentException(e, _this_weaveableC, e.getMessage()); } } } } _super_undeploy(); }
public void unbindFc(final java.lang.String arg0) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[0]); try { if( handlers.size() == 0 ) { impl.unbindFc(arg0); } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.BindingController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[0],(Object)arg0); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.NoSuchInterfaceException ) { throw (org.objectweb.fractal.api.NoSuchInterfaceException) t; } if( t instanceof org.objectweb.fractal.api.control.IllegalBindingException ) { throw (org.objectweb.fractal.api.control.IllegalBindingException) t; } if( t instanceof org.objectweb.fractal.api.control.IllegalLifeCycleException ) { throw (org.objectweb.fractal.api.control.IllegalLifeCycleException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
try { if( handlers.size() == 0 ) { impl.unbindFc(arg0);
/** * Undind the component and then calls the overriden method. */ public void undeploy() throws UndeploymentException { if (_this_weaveableRBC != null) { String[] itfs = _this_weaveableRBC.listSource(); if (itfs != null) { for (int i = 0; i < itfs.length; i++) { try { Object bindings[] = _this_weaveableRBC.lookupBindingSource(itfs[i]); Component owner = null; for(Object binding : bindings){ owner = ((Interface)binding).getFcItfOwner(); Fractal.getBindingController(owner).unbindFc(itfs[i]); } } catch (Exception e) { throw new ChainedUndeploymentException(e, _this_weaveableC, e.getMessage()); } } } } _super_undeploy(); }
BindingController systemRecoveryBC = Fractal.getBindingController(systemRecoveryComponent); for (String bindingName : systemRecoveryBC.listFc()) { systemRecoveryBC.unbindFc(bindingName);
BindingController systemRecoveryBC = Fractal.getBindingController(systemRecoveryComponent); for (String bindingName : systemRecoveryBC.listFc()) { systemRecoveryBC.unbindFc(bindingName);
.getBindingController(serviceAssemblyLifeCycle); for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { lifeCycleBindingController.unbindFc(lifeCycleBindingController.listFc()[i]);
.getBindingController(serviceAssemblyLifeCycle); for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { lifeCycleBindingController.unbindFc(lifeCycleBindingController .listFc()[i]);
.getBindingController(installer); for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { lifeCycleBindingController.unbindFc(lifeCycleBindingController .listFc()[i]);
.getBindingController(sharedLibraryLifeCycle); for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { lifeCycleBindingController.unbindFc(lifeCycleBindingController.listFc()[i]);
for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { if (lifeCycleBindingController.lookupFc(lifeCycleBindingController.listFc()[i]) != null) { lifeCycleBindingController.unbindFc(lifeCycleBindingController.listFc()[i]);
.getBindingController(componentLifeCycle); for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { lifeCycleBindingController.unbindFc(lifeCycleBindingController .listFc()[i]);
.getBindingController(componentLifeCycle); for (int i = 0; i < lifeCycleBindingController.listFc().length; i++) { lifeCycleBindingController.unbindFc(lifeCycleBindingController.listFc()[i]);