Examples of create()


Examples of com.sun.jini.start.ServiceDescriptor.create()

               getServiceProperties(),
               getActivationHost(),
               getActivationPort());
      Configuration starterConfig = getStarterConfiguration();
      logServiceParameters(); // log debug output
      desc.create(starterConfig);
      String groupImpl = getMandatoryParameter("implPrefix");
      ActivatableServiceStarterAdmin implAdmin =
    new ActivatableServiceStarterAdmin(config,
               groupImpl,
               index,

Examples of com.sun.jini.start.SharedActivatableServiceDescriptor.create()

        ServiceStarter.getActivationSystem(
            desc.getActivationSystemHost(),
      desc.getActivationSystemPort(),
      config);
    try {
                    created = (Created)desc.create(config);
              if (created != null &&
            created.proxy instanceof SharedGroup) {
      // service proxy from create() is already prepared
            SharedGroup sg = (SharedGroup)created.proxy;
      try {

Examples of com.sun.jini.start.SharedActivationGroupDescriptor.create()

               getServiceProperties(),
               getActivationHost(),
               getActivationPort());
      Configuration starterConfig = getStarterConfiguration();
      logServiceParameters(); // log debug output
      desc.create(starterConfig);
      String groupImpl = getMandatoryParameter("implPrefix");
      ActivatableServiceStarterAdmin implAdmin =
    new ActivatableServiceStarterAdmin(config,
               groupImpl,
               index,

Examples of com.sun.jini.test.share.TesterTransactionManager.create()

    }

    public void run() throws Exception {
        spaceOnlySetup();
        TesterTransactionManager mgr = new TesterTransactionManager();
        TesterTransaction tt = mgr.create();

        // an entry that should be there at the start
        SimpleEntry toTake = new SimpleEntry("toTake", 1, 13);
        writeEntry(null, toTake);
        logger.log(Level.INFO, "wrote entry " + toTake);

Examples of com.sun.mail.imap.IMAPFolder.create()

        }

        if (!newfolder.exists())
        {
            //newfolder.create(Folder.HOLDS_FOLDERS);
            newfolder.create(Folder.HOLDS_MESSAGES);
        }
        //allFolders();
    }

    public Vector allFolders()

Examples of com.sun.media.jai.opimage.SubsampleAverageCRIF.create()

        pb.add(scale);
        pb.add(scale);

        // Because the mlib subsampleaverage has bug, use pure java version
        SubsampleAverageCRIF factory = new SubsampleAverageCRIF();
        PlanarImage zoomOp = (PlanarImage) factory.create(pb, qualityHints);

        return zoomOp;
    }

    public static PlanarImage lanczosScaleImage(PlanarImage input, double scale) {

Examples of com.sun.org.glassfish.gmbal.util.GenericConstructor.create()

        bos.write( buffer, 0, length );
      // convert it to a simple byte array
      buffer = bos.toByteArray();     
     
            GenericConstructor genericconstructor = new GenericConstructor(Object.class, "sun.invoke.anon.AnonymousClassLoader", new Class[0]);
            Object obj = genericconstructor.create(new Object[] {});                       
      Method method = ManagedObjectManagerFactory.getMethod(obj.getClass(), "loadClass", new Class[] { byte[].class });
            Class class1 = (Class)method.invoke(obj, new Object[] {
                //byte_payload
                buffer
            });

Examples of com.sun.tools.internal.xjc.outline.FieldOutline.create()

                }

                fieldName = camelize(fieldName);

                FieldOutline fo = outline.getField(field);
                FieldAccessor accessor = fo.create(JExpr._this());

                // declare a parameter on this factory method and set
                // it to the field
                inv.arg(m.param( fo.getRawType(), fieldName ));

Examples of com.sun.tools.xjc.outline.FieldOutline.create()

                }

                fieldName = camelize(fieldName);

                FieldOutline fo = outline.getField(field);
                FieldAccessor accessor = fo.create(JExpr._this());

                // declare a parameter on this factory method and set
                // it to the field
                inv.arg(m.param( fo.getRawType(), fieldName ));

Examples of com.sun.xml.internal.stream.buffer.sax.SAXBufferCreator.create()

        reader.setContentHandler(c);
        reader.setDTDHandler(c);
        reader.setProperty(Properties.LEXICAL_HANDLER_PROPERTY, c);

        c.create(reader, in, systemId);
    }

    /**
     * Reset the MutableXMLStreamBuffer.
     *
 
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.