Examples of load()


Examples of nexj.core.meta.MetadataLoaderDispatcher.load()

         configProperties.setProperty(SysUtil.CONFIG_PROPERTY, sConfig);

         MetadataLoaderDispatcher loaderDispatcher = new MetadataLoaderDispatcher();
        
         Metadata metadata = loaderDispatcher.load(
            URLUtil.toURL(getRequiredProperty("root.url")),
            configProperties, MetadataLoader.ENVIRONMENT_ONLY, null);

         metadataEnabledProperties.setMetadataLoaderProperties(metadata.getProperties());
         m_installer.setMetadata(metadata);
View Full Code Here

Examples of nexj.core.runtime.Instance.load()

      m_identityMap.put(tobj, instance);

      if ((m_nMode & STATE) != 0 && tobj.getVersion() >= 0)
      {
         instance.load();

         if (lockingAttribute != null && instance.getState() != Instance.NEW)
         {
            Object oldValue = instance.getOldValueDirect(lockingAttribute.getOrdinal());
View Full Code Here

Examples of npanday.registry.Repository.load()

        try
        {
            Class c = Class.forName( repositoryClass );
            repository = (Repository) c.newInstance();
            repository.setRepositoryRegistry( repositoryRegistry );
            repository.load( stream, props );
            repository.setSourceUri( fileUri );
        }
        catch ( NPandayRepositoryException e )
        {
            throw new NPandayRepositoryException( "NPANDAY-084-004: " + e.toString() + " : " + message, e );
View Full Code Here

Examples of org.aeonbits.owner.PropertiesManagerForTest.load()

    @Test
    public void testListPrintStream() throws IOException {
        ByteArrayOutputStream expected = new ByteArrayOutputStream();
        PropertiesManagerForTest manager =
                new PropertiesManagerForTest(AccessibleConfig.class, new Properties(), scheduler, expander, loaders);
        manager.load().list(new PrintStream(expected, true));

        AccessibleConfig config = ConfigFactory.create(AccessibleConfig.class);
        ByteArrayOutputStream result = new ByteArrayOutputStream();
        config.list(new PrintStream(result, true));
View Full Code Here

Examples of org.aeonbits.owner.loaders.Loader.load()

    void load(Properties result, URL url) throws IOException {
        InputStream stream = url.openStream();
        try {
            Loader loader = findLoader(url);
            loader.load(result, stream);
        } finally {
            stream.close();
        }
    }
View Full Code Here

Examples of org.agilewiki.jid.collection.vlenc.ListJid.load()

        while (j < repeat) {
            ReadableBytes rb = new ReadableBytes(bytes, 0);
            ListJid blj = (ListJid) (new ListJidFactory(JidFactories.BOOLEAN_LIST_JID_TYPE, BooleanJidFactory.fac)).
                    newActor(getMailbox(), getParent());
            blj.load(rb);
            BooleanJid bj = (BooleanJid) blj.iGet(j);
            bj.setValue(true);
            bytes = blj.getSerializedBytes();
            j += 1;
        }
View Full Code Here

Examples of org.agilewiki.jid.collection.vlenc.map.IntegerMapJid.load()

        while (j < repeat) {
            ReadableBytes rb = new ReadableBytes(bytes, 0);
            IntegerMapJid blj = (IntegerMapJid)
                    (new IntegerMapJidFactory(JidFactories.INTEGER_INTEGER_MAP_JID_TYPE, IntegerJidFactory.fac)).
                            newActor(getMailbox(), getParent());
            blj.load(rb);
            j += 1;
        }
        long t1 = System.currentTimeMillis();
        return t1 - t0;
    }
View Full Code Here

Examples of org.agilewiki.jid.scalar.vlens.actor.RootJid.load()

        (new SetString("Bangalore")).send(future, location);
        byte[] rootBytes = GetSerializedBytes.req.send(future, root);

        RootJid root2 = new RootJid();
        root2.initialize(mailbox, factory);
        root2.load(rootBytes);
        Actor user = (new ResolvePathname("0")).send(future, root2);
        Proc.req.send(future, user);

        mailboxFactory.close();
    }
View Full Code Here

Examples of org.antlr.v4.parse.TokenVocabParser.load()

  public void importTokensFromTokensFile() {
    String vocab = getOptionString("tokenVocab");
    if ( vocab!=null ) {
      TokenVocabParser vparser = new TokenVocabParser(this);
      Map<String,Integer> tokens = vparser.load();
      tool.log("grammar", "tokens=" + tokens);
      for (String t : tokens.keySet()) {
        if ( t.charAt(0)=='\'' ) defineStringLiteral(t, tokens.get(t));
        else defineTokenName(t, tokens.get(t));
      }
View Full Code Here

Examples of org.antlr.works.generate.CodeDisplay.load()

        }

        CodeDisplay cd = new CodeDisplay(window);
        cd.setFile(grammarFile);
        cd.setRule(rule);
        cd.load();
       
        window.addTab(cd);
    }

    public boolean codeGenerateDisplaySuccess() {
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.