public void customResultAvailable(Collection<IPublishService> result) { getPublishService(instance, type, scope, result.iterator()).addResultListener(new DelegationResultListener<IPublishService>(ret)); } }));
public void customResultAvailable(Void result) { context.invoke().addResultListener(new DelegationResultListener<Void>(ret)); } });
public void customResultAvailable(IExternalAccess component) { IFuture<T> res = SNFPropertyProvider.getNFPropertyValue(component, name, unit); res.addResultListener(new DelegationResultListener<T>(ret)); } });
public void customResultAvailable(IComponentIdentifier result) { final IComponentIdentifier cid = (IComponentIdentifier)result; // if(cid.getName().indexOf("reg@ChatE3")!=-1) // { // System.out.println("getExternalAccess: "+cid); // e.printStackTrace(); // } getExternalAccess(provider, cid).addResultListener(new DelegationResultListener<IExternalAccess>(ret)); } });
public void customResultAvailable(Collection<IComponentFactory> facts) { factories = facts;//(Collection)result; getComponentFactory(model, cinfo, rid).addResultListener(new DelegationResultListener<IComponentFactory>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { rcms.resumeComponent(cid).addResultListener(new DelegationResultListener<Void>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { rcms.setComponentBreakpoints(cid, breakpoints).addResultListener(new DelegationResultListener<Void>(ret)); } });
public void customResultAvailable(IRemoteServiceManagementService rms) { rms.getServiceProxy(cid, IComponentManagementService.class, RequiredServiceInfo.SCOPE_PLATFORM) .addResultListener(new DelegationResultListener(ret)); } });
public void customResultAvailable(IDependencyService drs) { drs.loadDependencies(rid, workspace).addResultListener(new DelegationResultListener<Tuple2<IResourceIdentifier, Map<IResourceIdentifier,List<IResourceIdentifier>>>>(ret)); } });
public void customResultAvailable(ISettingsService settings) { settings.deregisterPropertiesProvider(LIBRARY_SERVICE) .addResultListener(new DelegationResultListener<Void>(saved)); } public void exceptionOccurred(Exception exception)
public void customResultAvailable(IRemoteServiceManagementService rms) { rms.getExternalAccessProxy(cid).addResultListener(new DelegationResultListener<IExternalAccess>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { // final IComponentManagementService rcms = (IComponentManagementService)result; rcms.destroyComponent(cid).addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void exceptionOccurred(Exception exception) { if(!ResolveInterceptor.SERVICEMETHODS.contains(sic.getMethod())) { rebind(sic).addResultListener(new DelegationResultListener(ret)); } else { ret.setException(exception); } } });
public void resultAvailable(Map<String, Object> result) { if(i>0) { destroyComponentLoop(cid, achildren, i-1).addResultListener(new DelegationResultListener<List<Exception>>(ret)); } else { ret.setResult(exceptions); } }
public void customResultAvailable(IComponentManagementService rcms) { rcms.stepComponent(cid).addResultListener(createResultListener(new DelegationResultListener<Void>(ret))); } }));
public void customResultAvailable(IRemoteServiceManagementService rms) { rms.getServiceProxy(cid, IComponentManagementService.class, RequiredServiceInfo.SCOPE_PLATFORM) .addResultListener(createResultListener(new DelegationResultListener(ret))); } }));
public void customResultAvailable(Void result) { Object agent = microagent instanceof IPojoMicroAgent? ((IPojoMicroAgent)microagent).getPojoAgent(): microagent; injectServices(agent, micromodel).addResultListener(new DelegationResultListener<Void>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { rcms.suspendComponent(cid).addResultListener(createResultListener(new DelegationResultListener<Void>(fut))); } }));
public void customResultAvailable(IComponentManagementService rcms) { rcms.getChildrenDescriptions(cid).addResultListener(createResultListener(new DelegationResultListener<IComponentDescription[]>(ret))); } public void exceptionOccurred(Exception exception)
public IFuture<Void> execute(IInternalAccess ia) { // Send the packet if it is still the correct one if(seqno==getSequenceNumber()) { assert mpfut!=null; sendAcknowledgedMultiPacket().addResultListener(new DelegationResultListener<Void>(mpfut)); mpfut = null; } return IFuture.DONE; } });