Package xcat.ccacore

Examples of xcat.ccacore.XCATComponentIDClientImpl


      // Instantiate the component
      container.createComponentInstance(instanceName,
          componentHandle,
          className);     
      // Create an instance of the client side of XCATComponentID
      cid = new XCATComponentIDClientImpl(instanceName, componentHandle);
    } else if (componentType.equals("mobile")) {
      container = new MobileContainer();

      if (properties.getBool("isMigrated", false))
  ((MobileContainer) container).setIsMigrated();
View Full Code Here


    }

    // initialize XCATComponentIDClient with a null GSH
    XCATComponentID cid = null;
    if (componentType.equals("basic"))
      cid = new XCATComponentIDClientImpl(instanceName, null);
    else if (componentType.equals("mobile"))
      cid = new MobileComponentIDClientImpl(instanceName, null);
    else // shouldn't get here, since we have thrown this exception before
      throw new NonstandardException("Unknown componentType: " + componentType);
View Full Code Here

    }

    // initialize XCATComponentIDClient with a null GSH
    XCATComponentID cid = null;
    if (componentType.equals("basic"))
      cid = new XCATComponentIDClientImpl(instanceName, null);
    else if (componentType.equals("mobile"))
      cid = new MobileComponentIDClientImpl(instanceName, null);
    else // shouldn't get here, since we have thrown this exception before
      throw new NonstandardException("Unknown componentType: " + componentType);
   
View Full Code Here

  public void instantiationComplete(String instanceName,
            String componentIDHandle)
    throws gov.cca.CCAException {
    logger.finest("called for instanceName: " + instanceName);

    XCATComponentIDClientImpl cid =
      (XCATComponentIDClientImpl) namedComponentIDs.get(instanceName);

    if (cid == null)
      throw new NonstandardException("Instance name : " + instanceName +
             " is unknown");

    synchronized(cid) {
     
      // set the GSH for the ComponentIDClient
      cid.setSerialization(componentIDHandle);

      // notify thread waiting to receive this ComponentID
      cid.notify();
    }
  }
View Full Code Here

TOP

Related Classes of xcat.ccacore.XCATComponentIDClientImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.