public void resultAvailable(Object result) { ((IComponentManagementService)result).destroyComponent(desc.getName()); } });
public void resultAvailable(IComponentManagementService cms) { cms.suspendComponent(desc.getName()); }
/** * Get a string representation of this description. */ public String toString() { return "CMSComponentDescription(name=" + getName() + ", state=" + getState() + ", ownership=" + getOwnership() + ")"; }
/** * Get the id used for lookup. */ public Object getId() { return desc.getName(); }
public void intermediateResultAvailable(IMonitoringEvent result) { ces.removeComponentListener(null, listener); } });
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.suspendComponent(desc.getName()); }
/** * Get the component id. */ public IComponentIdentifier getComponentIdentifier() { return desc!=null? desc.getName(): null; }
/** * Get a string representation of this description. */ public String toString() { return "CMSComponentDescription(name=" + getName() + ", state=" + getState() + ", ownership=" + getOwnership() + ")"; }
public void customResultAvailable(IComponentManagementService cms) { // IComponentManagementService cms = (IComponentManagementService)result; cms.removeComponentListener(null, listener); ret.setResult(null); } });
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.suspendComponent(desc.getName()); }
/** * Return a component-identifier that allows to send * messages to this component. */ public IComponentIdentifier getComponentIdentifier() { return desc.getName(); }
public void resultAvailable(Object result) { IComponentManagementService cms = (IComponentManagementService)result; cms.destroyComponent(((IComponentDescription)target.getProperty(ISpaceObject.PROPERTY_OWNER)).getName()); }
public void resultAvailable(IComponentManagementService cms) { cms.suspendComponent(desc.getName()); }
/** * Return a component-identifier that allows to send * messages to this component. */ public IComponentIdentifier getComponentIdentifier() { return desc.getName(); }
public void resultAvailable(Object result) { IComponentManagementService cms = (IComponentManagementService)result; cms.destroyComponent(((IComponentDescription)target.getProperty(ISpaceObject.PROPERTY_OWNER)).getName()); }
/** * String representation of the component. */ public String toString() { return "StandaloneComponentAdapter("+desc.getName().getName()+")"; }