Search in sources :

Example 16 with ManagerImpl

use of com.cosylab.acs.maci.manager.ManagerImpl in project ACS by ACS-Community.

the class ComponentInfoCommandComponentRemove method execute.

/**
	 * @see Command#execute(PrevalentSystem)
	 */
public Serializable execute(PrevalentSystem system) throws Exception {
    ComponentInfo componentInfo = (ComponentInfo) ((ManagerImpl) system).getComponents().get(hid);
    componentInfo.getComponents().remove(handle);
    return null;
}
Also used : ManagerImpl(com.cosylab.acs.maci.manager.ManagerImpl) ComponentInfo(com.cosylab.acs.maci.ComponentInfo)

Aggregations

ManagerImpl (com.cosylab.acs.maci.manager.ManagerImpl)16 ComponentInfo (com.cosylab.acs.maci.ComponentInfo)4 HandleDataStore (com.cosylab.acs.maci.manager.HandleDataStore)4 ContainerInfo (com.cosylab.acs.maci.ContainerInfo)3 DefaultCORBAService (com.cosylab.acs.maci.plug.DefaultCORBAService)3 CDBAccess (com.cosylab.cdb.client.CDBAccess)3 File (java.io.File)3 ORB (org.omg.CORBA.ORB)3 POA (org.omg.PortableServer.POA)3 ClientInfo (com.cosylab.acs.maci.ClientInfo)2 ClientProxyImpl (com.cosylab.acs.maci.plug.ClientProxyImpl)2 Properties (java.util.Properties)2 POAManager (org.omg.PortableServer.POAManager)2 SnapshotPrevayler (org.prevayler.implementation.SnapshotPrevayler)2 LogConfig (alma.acs.logging.config.LogConfig)1 LogConfigException (alma.acs.logging.config.LogConfigException)1 CoreException (com.cosylab.acs.maci.CoreException)1 CORBATransport (com.cosylab.acs.maci.plug.CORBATransport)1 ManagerProxyImpl (com.cosylab.acs.maci.plug.ManagerProxyImpl)1 NamingServiceRemoteDirectory (com.cosylab.acs.maci.plug.NamingServiceRemoteDirectory)1