Examples of retrieve()


Examples of org.exist.versioning.svn.internal.wc.admin.SVNWCAccess.retrieve()

                CopyPair source = (CopyPair) copyPairs.get(i);
                File srcFile = new Resource(source.mySource);
                SVNEntry entry = wcAccess.getVersionedEntry(srcFile, false);
                SVNAdminArea dirArea;
                if (entry.isDirectory()) {
                    dirArea = wcAccess.retrieve(srcFile);
                } else {
                    dirArea = wcAccess.retrieve(srcFile.getParentFile());
                }

View Full Code Here

Examples of org.glassfish.grizzly.ssl.SSLContextConfigurator.retrieve()

        SSLEngineConfigurator sslEngineConfigurator = (SSLEngineConfigurator) properties.get(ClientProperties.SSL_ENGINE_CONFIGURATOR);
        // if we are trying to access "wss" scheme and we don't have sslEngineConfigurator instance
        // we should try to create ssl connection using JVM properties.
        if (uri.getScheme().equalsIgnoreCase("wss") && sslEngineConfigurator == null) {
            SSLContextConfigurator defaultConfig = new SSLContextConfigurator();
            defaultConfig.retrieve(System.getProperties());
            sslEngineConfigurator = new SSLEngineConfigurator(defaultConfig, true, false, false);
        }

        try {
            this.clientSSLEngineConfigurator = sslEngineConfigurator;
View Full Code Here

Examples of org.glassfish.tyrus.client.SslContextConfigurator.retrieve()

        // if we are trying to access "wss" scheme and we don't have sslEngineConfigurator instance
        // we should try to create ssl connection using JVM properties.
        if (sslFilter == null) {
            SslContextConfigurator defaultConfig = new SslContextConfigurator();
            defaultConfig.retrieve(System.getProperties());

            String wlsSslTrustStore = (String) cec.getUserProperties().get(ClientManager.WLS_SSL_TRUSTSTORE_PROPERTY);
            String wlsSslTrustStorePassword = (String) cec.getUserProperties().get(ClientManager.WLS_SSL_TRUSTSTORE_PWD_PROPERTY);

            if (wlsSslTrustStore != null) {
View Full Code Here

Examples of org.h2.dev.ftp.FtpClient.retrieve()

        if (!ftp.exists("/httpdocs", "automated")) {
            ftp.makeDirectory("/httpdocs/automated");
        }
        String buildSql;
        if (ftp.exists("/httpdocs/automated", "history.sql")) {
            buildSql = new String(ftp.retrieve("/httpdocs/automated/history.sql"));
        } else {
            buildSql = "create table item(id identity, title varchar, issued timestamp, desc varchar);\n";
        }
        String ts = new java.sql.Timestamp(System.currentTimeMillis()).toString();
        String now = ts.substring(0, 16);
View Full Code Here

Examples of org.jasig.cas.client.proxy.EhcacheBackedProxyGrantingTicketStorageImpl.retrieve()

        CacheManager.getInstance().addCache(ehcache);
        final EhcacheBackedProxyGrantingTicketStorageImpl cache = new EhcacheBackedProxyGrantingTicketStorageImpl(
                ehcache);
        //        cache.setSecretKey("thismustbeatleast24charactersandcannotbelessthanthat1234");

        assertNull(cache.retrieve(null));
        assertNull(cache.retrieve("foobar"));

        cache.save("proxyGrantingTicketIou", "proxyGrantingTicket");
        assertEquals("proxyGrantingTicket", cache.retrieve("proxyGrantingTicketIou"));
        assertTrue("proxyGrantingTicket".equals(ehcache.get("proxyGrantingTicketIou").getValue()));
View Full Code Here

Examples of org.jitterbit.integration.client.wsdl.cache.WsdlFileCache.retrieve()

        WsdlFileCache cache = getFileCache();
        if (cache == null) {
            return null;
        }
        try {
            return cache.retrieve(getWsdlFile().getLocator());
        } catch (DataCacheException e) {
            // There is no need to communicate this error to the user,
            // we just log it and download the file again.
            String msg = "Failed to retrieved a cached WSDL file (\"" + getWsdlFile().getLocator() + "\"). Reason: ";
            ErrorLog.log(ProcessExistingWsdlFile.class, msg, e);
View Full Code Here

Examples of org.jruby.compiler.ir.operands.Operand.retrieve()

            boolean v1True  = ((IRubyObject)value1).isTrue();
            boolean op2True = ((BooleanLiteral)op2).isTrue();
            return (v1True && !op2True) || (v1True && !op2True) ? target : null;
        }
        else {
            Object value2 = op2.retrieve(interp);
//            System.out.println("VALUE1: " + value1 + ", VALUE2: " + value2);
            // FIXME: equals? rather than ==
            return !(value1 == value2) ? target : null;
        }
    }
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.retrieve()

    kb.addSame( i21, i1 );

    kb.addPropertyValue( p, test, i21 );
    kb.addPropertyValue( p, test, i22 );

    Set<ATermAppl> t1inds = kb.retrieve( t1eq, kb.getIndividuals() );
    assertEquals( "Individual test should be of type T1. ", Collections.singleton( test ), t1inds);

  }

  @Test
View Full Code Here

Examples of org.mule.api.store.ListableObjectStore.retrieve()

        for (int i = 0; i < 50; i++)
        {
            bigKey.append("abcdefghijklmnopqrstuvwxyz");
        }
        os.store(bigKey.toString(),1);
        assertThat((Integer) os.retrieve(bigKey.toString()), Is.is(1));
    }



    private static class ObjectStoreFactory
View Full Code Here

Examples of org.mule.api.store.ObjectStore.retrieve()

        os.store(OBJECT_KEY, OBJECT_KEY_VALUE_1);
        os2.store(OBJECT_KEY, OBJECT_KEY_VALUE_2);
        assertThat(os.contains(OBJECT_KEY), is(true));
        assertThat((String) os.retrieve(OBJECT_KEY), is(OBJECT_KEY_VALUE_1));
        assertThat(os2.contains(OBJECT_KEY),is(true));
        assertThat((String) os2.retrieve(OBJECT_KEY), is(OBJECT_KEY_VALUE_2));
        assertThat((String) os.remove(OBJECT_KEY), is(OBJECT_KEY_VALUE_1));
        assertThat((String) os2.remove(OBJECT_KEY), is(OBJECT_KEY_VALUE_2));
    }

    @Test
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.