use of com.cosylab.acs.maci.manager.ManagerImpl in project ACS by ACS-Community.
the class ClientInfoCommandComponentRemove method execute.
/**
* @see Command#execute(PrevalentSystem)
*/
public Serializable execute(PrevalentSystem system) throws Exception {
ClientInfo clientInfo = ((ManagerImpl) system).noSyncGetClientInfo(id);
clientInfo.getComponents().remove(handle);
return null;
}
use of com.cosylab.acs.maci.manager.ManagerImpl in project ACS by ACS-Community.
the class ContainerInfoCommandComponentRemove method execute.
/**
* @see Command#execute(PrevalentSystem)
*/
public Serializable execute(PrevalentSystem system) throws Exception {
ContainerInfo containerInfo = (ContainerInfo) ((ManagerImpl) system).getContainers().get(handle);
containerInfo.getComponents().remove(cobHandle);
return null;
}
use of com.cosylab.acs.maci.manager.ManagerImpl in project ACS by ACS-Community.
the class ComponentCommandClientAdd method execute.
/**
* @see Command#execute(PrevalentSystem)
*/
public Serializable execute(PrevalentSystem system) throws Exception {
ComponentInfo cobInfo = (ComponentInfo) ((ManagerImpl) system).getComponents().get(handle);
cobInfo.getClients().add(clientHandle);
return null;
}
use of com.cosylab.acs.maci.manager.ManagerImpl in project ACS by ACS-Community.
the class ComponentCommandClientRemove method execute.
/**
* @see Command#execute(PrevalentSystem)
*/
public Serializable execute(PrevalentSystem system) throws Exception {
ComponentInfo cobInfo = (ComponentInfo) ((ManagerImpl) system).getComponents().get(handle);
cobInfo.getClients().remove(clientHandle);
return null;
}
use of com.cosylab.acs.maci.manager.ManagerImpl in project ACS by ACS-Community.
the class ComponentInfoCommandComponentAdd method execute.
/**
* @see Command#execute(PrevalentSystem)
*/
public Serializable execute(PrevalentSystem system) throws Exception {
ComponentInfo componentInfo = (ComponentInfo) ((ManagerImpl) system).getComponents().get(hid);
componentInfo.getComponents().add(handle);
return null;
}
Aggregations