Examples of SharedGroup


Examples of com.sun.jini.start.SharedGroup

import com.sun.jini.start.SharedGroup;
import net.jini.config.EmptyConfiguration;

public class ServiceStarterCreateSharedBadActServiceTest extends StarterBase {
    public void run() throws Exception {
        SharedGroup sg = null;
        sg = (SharedGroup)manager.startService("sharedGroup");
  SharedGroupAdmin sga = null;
  sga = (SharedGroupAdmin)manager.getAdmin(sg);

        String codebase = getConfig().getStringConfigVal(
View Full Code Here

Examples of com.sun.jini.start.SharedGroup

public class MultipleClasspathComponentTest extends AbstractStartBaseTest {

    public void run() throws Exception {
  logger.log(Level.INFO, "run()");

        SharedGroup group_proxy = (SharedGroup)manager.startService(
    "com.sun.jini.start.SharedGroup");
    }
View Full Code Here

Examples of com.sun.jini.start.SharedGroup

      super(codebase, policy, classpath, implClassName,
      sharedGroupLog, serverConfigArgs, restart);
  }

         public Object create(Configuration config) throws Exception {
       SharedGroup sg =  new SharedGroup() {
     public void destroyVM() throws RemoteException {
         throw new RemoteException("BogusSharedGroup");
     }
       };
       return new SharedActivatableServiceDescriptor.Created(
View Full Code Here

Examples of com.sun.jini.start.SharedGroup

    }

    public void run() throws Exception {
  logger.log(Level.INFO, "run()");

        SharedGroup group_proxy = null;
  final String serviceName = "com.sun.jini.start.SharedGroup";
  final int numGroups =
      getConfig().getIntConfigVal(serviceName + ".instances", -1);
  if (numGroups <= 0) {
      throw new TestException( "No services to test.");
View Full Code Here

Examples of com.sun.jini.start.SharedGroup

        /*
         * To perform all equals tests we require 4 different proxy
         * instances. Two from each service.
         */
        SharedGroup group_proxy = null;
        SharedGroup group_proxy_dup = null;
        SharedGroup bogus_group_proxy = null;
  final String serviceName = "com.sun.jini.start.SharedGroup";
  MarshalledObject marshObj01 =
    new MarshalledObject(manager.startService(serviceName));
        MarshalledObject marshObj02 =
    new MarshalledObject(manager.startService(serviceName));
View Full Code Here

Examples of com.sun.jini.start.SharedGroup

    private final ProxyPreparer noOpProxyPreparer =
  new BasicProxyPreparer();

    public void run() throws Exception {
        SharedGroup sg = null;
        sg = (SharedGroup)manager.startService("sharedGroup");
  SharedGroupAdmin sga = null;
  sga = (SharedGroupAdmin)manager.getAdmin(sg);

        String codebase =
View Full Code Here

Examples of javax.media.j3d.SharedGroup

      }
      return clonedShape;
    } else if (node instanceof Link) {
      Link clonedLink = (Link)node.cloneNode(true);
      // Force duplication of shared groups too
      SharedGroup sharedGroup = clonedLink.getSharedGroup();
      if (sharedGroup != null) {
        SharedGroup clonedSharedGroup = clonedSharedGroups.get(sharedGroup);
        if (clonedSharedGroup == null) {
          clonedSharedGroup = (SharedGroup)cloneNode(sharedGroup, clonedSharedGroups);
          clonedSharedGroups.put(sharedGroup, clonedSharedGroup);         
        }
        clonedLink.setSharedGroup(clonedSharedGroup);
View Full Code Here

Examples of javax.media.j3d.SharedGroup

        Shape3D sh;
        sapp = new Appearance();
        sapp.setMaterial(side);
        sh = new Shape3D(shaft, sapp);
        sh.setPickable(false);
        shafts[0] = new SharedGroup();
        shafts[0].addChild(sh);

        sapp = new Appearance();
        sapp.setMaterial(sideWater);
        sh = new Shape3D(shaft, sapp);
        shafts[1] = new SharedGroup();
        shafts[1].addChild(sh);
       
        return shafts;
    }
View Full Code Here

Examples of javax.media.j3d.SharedGroup

    Sphere bSphere = new Sphere(0.1f,bSphereApp);


    //Assign the sphere to a SharedGroup to use it multiple
    //times in the scene.
    SharedGroup sgSphere = new SharedGroup();
    sgSphere.addChild(bSphere);



    //Generate a two-dimensional array of rows*columns spheres.
    //rowStep and columnStep define the distance between the spheres.
View Full Code Here

Examples of javax.media.j3d.SharedGroup

    Sphere bSphere = new Sphere(0.1f,bSphereApp);


    //Assign the sphere to a SharedGroup to use it multiple
    //times in the scene.
    SharedGroup sgSphere = new SharedGroup();
    sgSphere.addChild(bSphere);



    //Generate a two-dimensional array of rows*columns spheres.
    //rowStep and columnStep define the distance between the spheres.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.