Examples of create()


Examples of com.sun.ejb.containers.GenericEJBLocalHome.create()

                cf.getContainer(target.getUniqueId());

            if( refDesc.isEJB30ClientView() ) {
                GenericEJBLocalHome genericLocalHome =
                    container.getEJBLocalBusinessHome();
                returnObject = genericLocalHome.create(refDesc.getEjbInterface());
            } else {
                returnObject = container.getEJBLocalHome();
            }

        } else {

Examples of com.sun.enterprise.deploy.shared.FileArchive.create()

        File explodedManifest = null;
        File preservedManifestFromArchive = null;

        FileArchive target = new FileArchive();
        target.create(directory.toURI());

        explodeJar(new File(source.getURI()), directory);

        if (preserveManifest) {
            explodedManifest = new File(directory, java.util.jar.JarFile.MANIFEST_NAME);

Examples of com.sun.enterprise.deployment.deploy.shared.FileArchive.create()

       
        File explodedManifest = null;
        File preservedManifestFromArchive = null;
       
        FileArchive target = new FileArchive();
        target.create(directory.getAbsolutePath());
       
        explodeJar(new File(source.getArchiveUri()), directory);
        //archivist.copyInto(source, target);
       
        if (preserveManifest) {

Examples of com.sun.enterprise.deployment.deploy.shared.OutputJarArchive.create()

            throws IOException {
        FileArchive source = new FileArchive();
        OutputJarArchive destination = new OutputJarArchive();
        try {
            source.open(sourcePath);
            destination.create(destinationPath);
            for (Enumeration entries = source.entries();
                 entries.hasMoreElements();) {
                String entry = String.class.cast(entries.nextElement());
                InputStream is = null;
                OutputStream os = null;

Examples of com.sun.enterprise.deployment.interfaces.ClientJarMaker.create()

            if (FileUtils.safeIsDirectory(
                request.getGeneratedXMLDirectory())) {
                AbstractArchive source2 = new FileArchive();
                ((FileArchive) source2).open(
                    request.getGeneratedXMLDirectory().getAbsolutePath());
                jarMaker.create(descriptor, source, source2, target, clientStubs,
                    null);
                source2.close();
            } else {
                jarMaker.create(descriptor, source, target, clientStubs,null);
            }

Examples of com.sun.enterprise.ee.admin.hadbmgmt.HADBCreateSchema.create()

            info.setSystemPassword(dbsystempassword);
           
            info.setup();
           
            HADBCreateSchema creator = new HADBCreateSchema(info);
            return creator.create();
        }
        catch(HADBSetupException hse)
        {
            throw hse;
        }

Examples of com.sun.faces.mgbean.BeanManager.create()

            if (builder != null) {
                FacesContext facesContext = (FacesContext)
                    context.getContext(FacesContext.class);
                result = manager.getBeanFromScope(beanName, builder, facesContext);
                if (result == null) {
                    result = manager.create(beanName, builder, facesContext);
                }
                context.setPropertyResolved(markAsResolvedIfCreated && (result != null));
            }
        }

Examples of com.sun.jersey.test.framework.spi.container.TestContainerFactory.create()

        /**
         * Start container
         */
        TestContainerFactory containerFactory = new GrizzlyTestContainerFactory();
        UriBuilder uriBuilder = UriBuilder.fromUri(URI.create("http://localhost:" + port));
        testContainer = containerFactory.create(
            uriBuilder.build(), builder.build()
        );
        testContainer.start();

        // :~)

Examples of com.sun.jersey.test.framework.spi.container.grizzly2.GrizzlyTestContainerFactory.create()

        /**
         * Start container
         */
        TestContainerFactory containerFactory = new GrizzlyTestContainerFactory();
        UriBuilder uriBuilder = UriBuilder.fromUri(URI.create("http://localhost:" + port));
        testContainer = containerFactory.create(
            uriBuilder.build(), builder.build()
        );
        testContainer.start();

        // :~)

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

                trans_impl,
                new String[] { config },
    antiMercuryProxyPreparer);
        try {
            NonActivatableServiceDescriptor.Created created =
                (NonActivatableServiceDescriptor.Created)antiNonActMercuryProxy.create(
        EmptyConfiguration.INSTANCE);
      throw new TestException(
          "Created proxy: " + created.proxy
    + " with a bad trans proxy descriptor: "
    + antiNonActMercuryProxy);
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.