public void resultAvailable(Object result) { ((IComponentManagementService)result).destroyComponent(desc.getName()); } });
public void resultAvailable(IComponentManagementService cms) { // cms.setComponentException(cid, e); // System.err.println("fatal error -> destroy: "+getComponentIdentifier()); // e.printStackTrace(); cms.destroyComponent(desc.getName()); }
public void resultAvailable(IComponentManagementService cms) { // cms.setComponentException(cid, e); // System.err.println("fatal error -> destroy: "+getComponentIdentifier()); // e.printStackTrace(); cms.destroyComponent(desc.getName()); }
public void resultAvailable(IComponentManagementService cms) { cms.destroyComponent(adapter.getComponentIdentifier()); } public void exceptionOccurred(Exception exception)
public synchronized void resultAvailable(Void result) { // if(cid.getName().indexOf("ParentProcess")!=-1) // System.out.println("destroying "+cid); IComponentManagementService mycms = cms; if(mycms!=null) { // if(cid.getName().indexOf("ParentProcess")!=-1) // System.out.println("destroying1 "+cid); mycms.destroyComponent(cid).get(); // if(cid.getName().indexOf("ParentProcess")!=-1) // System.out.println("destroying2 "+cid); } }
public void customResultAvailable(IComponentManagementService rcms) { // final IComponentManagementService rcms = (IComponentManagementService)result; rcms.destroyComponent(cid).addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { // final IComponentManagementService rcms = (IComponentManagementService)result; rcms.destroyComponent(cid).addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { // final IComponentManagementService rcms = (IComponentManagementService)result; rcms.destroyComponent(cid).addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void run() { // System.out.println("TIMEOUT: "+System.currentTimeMillis()+" "+filename); triggered[0] = true; boolean b = finished.setExceptionIfUndone(new TimeoutException(ComponentTest.this+" did not finish in "+timeout+" ms.")); if(b && cid[0]!=null) { cms.destroyComponent(cid[0]); } } }, timeout);
public void customResultAvailable(IComponentManagementService rcms) { // final IComponentManagementService rcms = (IComponentManagementService)result; rcms.destroyComponent(cid).addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void resultAvailable(Object result) { IComponentManagementService cms = (IComponentManagementService)result; cms.destroyComponent(((IComponentDescription)target.getProperty(ISpaceObject.PROPERTY_OWNER)).getName()); }
public void resultAvailable(Object result) { IComponentManagementService cms = (IComponentManagementService)result; cms.destroyComponent(((IComponentDescription)target.getProperty(ISpaceObject.PROPERTY_OWNER)).getName()); }
public void customResultAvailable(Object result) { IComponentManagementService cms = (IComponentManagementService)result; cms.destroyComponent(space.getExternalAccess().getComponentIdentifier()); } });
public void customResultAvailable(IComponentManagementService cms) { cms.destroyComponent(cid) .addResultListener(new ExceptionDelegationResultListener<Map<String,Object>, Void>(ret) { public void customResultAvailable(Map<String, Object> result) { ret.setResult(null); } }); } });
public void customResultAvailable(final IComponentManagementService cms) { cms.destroyComponent(cid).addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void customResultAvailable(IComponentManagementService cms) { // System.out.println("destroying: "+testcase); cms.destroyComponent(testcase) .addResultListener(new SwingExceptionDelegationResultListener<Map<String,Object>, Void>(ret) { public void customResultAvailable(Map<String, Object> result) { // System.out.println("aborted: "+testcase); ret.setResult(null); } }); } });
public void customResultAvailable(IComponentManagementService cms) { // System.out.println("destroying: "+testcase); cms.destroyComponent(testcase) .addResultListener(new SwingExceptionDelegationResultListener<Map<String,Object>, Void>(ret) { public void customResultAvailable(Map<String, Object> result) { // System.out.println("aborted: "+testcase); ret.setResult(null); } }); } });
public void customResultAvailable(IComponentManagementService cms) { cms.destroyComponent(getComponentIdentifier()) .addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
public void customResultAvailable(IComponentManagementService cms) { cms.destroyComponent(getComponentAdapter().getComponentIdentifier()) .addResultListener(new DelegationResultListener<Map<String, Object>>(ret)); } });
@Classname("stop") public IFuture<Void> execute(IInternalAccess ia) { IComponentManagementService cms = ia.getComponentFeature(IRequiredServicesFeature.class) .searchService(IComponentManagementService.class, RequiredServiceInfo.SCOPE_PLATFORM).get(); cms.destroyComponent(player.getAgentID()); return IFuture.DONE; } });