Examples of assemble()


Examples of com.alexkasko.krakatau.KrakatauLibrary.assemble()

     */
    @Override
    public void execute() throws MojoExecutionException, MojoFailureException {
        KrakatauLibrary lib = new KrakatauLibrary();
        if(!outputDir.exists()) outputDir.mkdirs();
        lib.assemble(Arrays.asList(asmFileOrDirs), outputDir);
    }
}
View Full Code Here

Examples of com.eclipsesource.tabris.tracking.internal.analytics.request.AnalyticsRequest.assemble()

  }

  public void track( Hit hit, String clientId, AdvancedConfiguration advancedConfiguration ) {
    validateArguments( hit, clientId, advancedConfiguration );
    AnalyticsRequest requestAssembler = new AnalyticsRequest( appName, clientId, configuration, hit, advancedConfiguration );
    Map<String, Object> request = requestAssembler.assemble();
    HttpRequest httpRequest = HttpRequest.get( baseUrl, request, true );
    verifyResponse( httpRequest );
  }

  private void validateArguments( Hit hit, String clientId, AdvancedConfiguration advancedConfiguration ) {
View Full Code Here

Examples of com.eclipsesource.tabris.tracking.internal.piwik.request.PiwikRequest.assemble()

  public void track( Action action,
                     VisitorInformation visitorInformation,
                     AdvancedConfiguration advancedConfiguration )
  {
    PiwikRequest request = new PiwikRequest( configuration, action, visitorInformation, advancedConfiguration );
    Map<String, Object> parameter = request.assemble();
    verifyResponse( HttpRequest.get( piwikUrl, parameter, true ) );
  }

  private void verifyResponse( HttpRequest httpRequest ) {
    if( httpRequest.code() != 200 ) {
View Full Code Here

Examples of com.threepillar.labs.si.aws.MessagePacket.assemble()

  protected abstract void dispatch(Message<?> message);

  public void onNotification(String notification) {
    MessagePacket packet = MessagePacket.fromJSON(notification);
    dispatch(packet.assemble());
  }
}
View Full Code Here

Examples of krati.store.DataStoreHandler.assemble()

        assertEquals(null, h.extractByKey(key2, data));
        assertEquals(0, h.countCollisions(key2, data));
        assertEquals(null, h.extractByKey(key3, data));
        assertEquals(0, h.countCollisions(key3, data));
       
        data1 = h.assemble(key1, value1);
        data1 = h.assemble(key2, value2, data1);
        data1 = h.assemble(key3, value3, data1);
       
        List<byte[]> keys = h.extractKeys(data1);
        assertEquals(3, keys.size());
View Full Code Here

Examples of org.apache.beehive.controls.api.assembly.ControlAssembler.assemble()

                {
                    ControlAssembler assembler = assemblerClass.newInstance();
                    Set<String> clients = controlTypeToClients.get( ct );
                    ControlAssemblyContext cac = factory.newInstance(
                        cl.loadClass(ct), null, clients, moduleRoot, moduleName, srcOutputRoot );
                    assembler.assemble( cac );
                }
            }
        }
        catch ( ControlAssemblyException cae )
        {
View Full Code Here

Examples of org.apache.beehive.controls.system.ejb.internal.EJBJarDescriptorHandler.assemble()

            ejbJarStream.close();
            ejbJarStream = null;

            EJBJarDescriptorHandler ejbHandler = EJBJarDescriptorHandler.getInstance();
            ejbHandler.assemble(ejbDoc, ei, ejbLinkValue);

            // overwrite existing ejb-jar.xml file with new document
            writeXML(ejbDoc, ejbJarFile);
        }
        catch(IOException ioe)
View Full Code Here

Examples of org.apache.beehive.controls.system.ejb.internal.WebDescriptorHandler.assemble()

                webXmlStream.close();
                webXmlStream = null;

                WebDescriptorHandler webHandler = WebDescriptorHandler.getInstance();
                webHandler.assemble(webAppDoc, ei, ejbLinkValue);

                // overwrite existing web.xml file with new document
                writeXML(webAppDoc, webXmlFile);
            }
            catch(IOException ioe)
View Full Code Here

Examples of org.apache.camel.spi.ManagementMBeanAssembler.assemble()

            registerMBeanWithServer(obj, name, forceRegistration);
        } catch (NotCompliantMBeanException e) {
            // If this is not a "normal" MBean, then try to deploy it using JMX annotations
            ManagementMBeanAssembler assembler = camelContext.getManagementMBeanAssembler();
            ObjectHelper.notNull(assembler, "ManagementMBeanAssembler", camelContext);
            Object mbean = assembler.assemble(server, obj, name);
            if (mbean != null) {
                // and register the mbean
                registerMBeanWithServer(mbean, name, forceRegistration);
            }
        }
View Full Code Here

Examples of org.apache.camel.spi.ManagementMBeanAssembler.assemble()

            registerMBeanWithServer(obj, name, forceRegistration);
        } catch (NotCompliantMBeanException e) {
            // If this is not a "normal" MBean, then try to deploy it using JMX annotations
            ManagementMBeanAssembler assembler = camelContext.getManagementMBeanAssembler();
            ObjectHelper.notNull(assembler, "ManagementMBeanAssembler", camelContext);
            Object mbean = assembler.assemble(server, obj, name);
            // and register the mbean
            registerMBeanWithServer(mbean, name, forceRegistration);
        }
    }
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.