/** * @see org.objectweb.fractal.api.control.BindingController#lookupFc(java.lang.String) */ public Object lookupFc(String clientItf) throws NoSuchInterfaceException { if (clientItf.equalsIgnoreCase(PluginResolver.INTERFACE_NAME)) { return this.pluginResolver; } throw new NoSuchInterfaceException("Cannot find client interface " + clientItf); }
private Set<WebServiceInformationBean> getAllWebServiceInformationBean() { // get the top level component to be able to get all the components... Component root = FractalHelper.getRootComponent(this.component); try { return FractalWSHelper.getAllBeans(Fractal.getContentController(root)); } catch (NoSuchInterfaceException e) { e.printStackTrace(); } return null; }
public void deleteProcess(final Process process) throws CoreException { try { SCAExtendedContentController parentContentController = (SCAExtendedContentController) process.getParentExecution().getComponent().getFcInterface(SCAContentController.NAME); parentContentController.releaseFcContent(process.getComponent(), true); } catch (NoSuchInterfaceException e) { throw new CoreException("Delete process "+process.getName()+ "failed. Caused by "+e.getMessage()); } }
public void bindFc(String itf, Object value) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (itf.equals(BUILDER_BINDING)) { builder = (BinderBuilder) value; return; } throw new NoSuchInterfaceException("Cannot find interface " + itf); }
public void bindFc(String itf, Object value) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (itf.equals(BUILDER_BINDING)) { builder = (ExporterBuilder) value; return; } throw new NoSuchInterfaceException("Cannot find interface " + itf); }
public void bindFc(String itfName, Object srvItf) throws NoSuchInterfaceException { if (MODEL_ITF_NAME.equals(itfName)) { this.model = (FraSCAtiModel) srvItf; } else { throw new NoSuchInterfaceException(itfName); } }
public void unbindFc(String itf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (itf.equals(BUILDER_BINDING)) { builder = null; return; } throw new NoSuchInterfaceException("Cannot find interface " + itf); }
public void unbindFc(String itfName) throws NoSuchInterfaceException { if (MODEL_ITF_NAME.equals(itfName)) { this.model = null; } else { throw new NoSuchInterfaceException(itfName); } } }
/** * {@inheritDoc} */ @Override public void bindFc(String clientItfName, Object serverItf) throws NoSuchInterfaceException { if (clientItfName.equals(MONITORING_SERVICES_CONTROLLER_ITF)) { this.monitoringManager = (ProxyMonitoringActions) serverItf; } else { throw new NoSuchInterfaceException(clientItfName); } }
/** * {@inheritDoc} */ @Override public Object lookupFc(String clientItfName) throws NoSuchInterfaceException { if (clientItfName.equals(MONITORING_SERVICES_CONTROLLER_ITF)) { return this.monitoringManager; } else { throw new NoSuchInterfaceException(clientItfName); } }
/** * @see org.objectweb.fractal.api.control.BindingController#unbindFc(java.lang.String) */ public void unbindFc(String clientItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (clientItf.equalsIgnoreCase(PluginResolver.INTERFACE_NAME)) { this.pluginResolver = null; return; } throw new NoSuchInterfaceException("Cannot find client interface " + clientItf); }
public Object lookupFc(String itf) throws NoSuchInterfaceException { if (itf.equals(BUILDER_BINDING)) { return builder; } throw new NoSuchInterfaceException("Cannot find interface " + itf); }
public void bindFc(String itfName, Object srvItf) throws NoSuchInterfaceException { if (MODEL_ITF_NAME.equals(itfName)) { this.model = (FraSCAtiModel) srvItf; } else { throw new NoSuchInterfaceException(itfName); } }
public Object lookupFc(String itfName) throws NoSuchInterfaceException { if (MODEL_ITF_NAME.equals(itfName)) { return this.model; } else { throw new NoSuchInterfaceException(itfName); } }
public void unbindFc(String itfName) throws NoSuchInterfaceException { if (MODEL_ITF_NAME.equals(itfName)) { this.model = null; } else { throw new NoSuchInterfaceException(itfName); } } }
public Object lookupFc(String itfName) throws NoSuchInterfaceException { if (MODEL_ITF_NAME.equals(itfName)) { return this.model; } else { throw new NoSuchInterfaceException(itfName); } }
/** * {@inheritDoc} */ @Override public void unbindFc(String clientItfName) throws NoSuchInterfaceException { if (clientItfName.equals(MONITORING_SERVICES_CONTROLLER_ITF)) { this.monitoringManager = null; } else { throw new NoSuchInterfaceException(clientItfName); } }
public void bindFc(final String clientItfName, final Object serverItf) throws NoSuchInterfaceException { if (clientItfName.startsWith(PLUGINS_BINDING) && (serverItf instanceof BindingFactoryPlugin<?, ?>)) { plugins.put(clientItfName, (BindingFactoryPlugin<?, ?>) serverItf); return; } throw new NoSuchInterfaceException("Cannot find client interface " + clientItfName); }
public void unbindFc( String cltItfName ) throws NoSuchInterfaceException { if( DOMAIN_ITF_NAME.equals(cltItfName) ) { domain = null; } else if( CONFIG_ITF_NAME.equals(cltItfName) ) { config = null; } else { throw new NoSuchInterfaceException(cltItfName); } }
public void bindFc(final String itf, final Object value) throws NoSuchInterfaceException { if (itf == null) { throw new NoSuchInterfaceException("Interface name can't be null"); } if (itf.equals(FACTORY)) pluginFactoryItf = (Factory) value; else pluginBindings.put(itf, value); }