Package intf.container

Examples of intf.container.XCATContainer


    // Create a GSH for this component, if it has not been provided already
    String componentHandle =
      properties.getString("componentHandle",
         HandleResolver.createGSH(instanceName));

    XCATContainer container = null;
    XCATComponentID cid = null;
    if (componentType.equals("basic")) {
      container = new BasicContainer();

      // 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();

      // Instantiate the component
      container.createComponentInstance(instanceName,
          componentHandle,
          className);     
      // Create an instance of the client side of XCATComponentID
      cid = new MobileComponentIDClientImpl(instanceName, componentHandle);
    } else
View Full Code Here


      System.out.println("Saving the URL for the Handle Resolver");
      HandleResolver.setHandleResolverURL(handleResolverURL);

      System.out.println("Instantiating a Container");
      XCATContainer container = null;
      if (componentType.equals("basic"))
  container = new BasicContainer();
      else if (componentType.equals("mobile")) {
  container = new MobileContainer();
  if (isMigrated)
    ((MobileContainer) container).setIsMigrated();
      }

      System.out.println("Instantiating the Component");
      container.createComponentInstance(instanceName,
          instanceGSH,
          className);

      System.out.println("Creating a reference to the BuilderService");
      XCATBuilderService builder = (XCATBuilderService)
View Full Code Here

TOP

Related Classes of intf.container.XCATContainer

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.