Examples of IProxy


Examples of com.salesforce.ide.core.internal.preferences.proxy.IProxy

            logger.warn("Unable to set proxy settings - could not get Connection from joinpoint");
            return;
        }

        // current proxy settings
        IProxy proxy = preferenceManager.getProxyManager().getProxy();

        // connection to-be inspect/adjusted

        // evaluate server root for exclusion
        String endpoint = connection.getServerName();
        if (Utils.isEmpty(endpoint)) {
            endpoint = connection.getForceProject().getEndpointServer();
        }

        if (proxy.isProxiesEnabled() && !proxy.isServerExcluded(endpoint)) {
            // update w/ last proxy settings
            updateConnectionProxy(connection, proxy);
        } else {
            // proxy is disabled, clear jvm-wide settings
            connection.getConnectorConfig().setProxy(Proxy.NO_PROXY);
View Full Code Here

Examples of org.jboss.test.jmx.invokerproxy.IProxy

   }

   public void testProgramaticProxy() throws Exception
   {
      InitialContext ic = new InitialContext();
      IProxy myService = (IProxy) ic.lookup("IProxy");
      String result = myService.echoDate("testProgramaticProxy");
      assertTrue(result, result.indexOf("testProgramaticProxy") >= 0);
   }
View Full Code Here

Examples of org.puremvc.java.multicore.interfaces.IProxy

   *
   * @param proxy
   *            name of the <code>Proxy</code> instance to be removed.
   */
  public IProxy removeProxy(String proxyName) {
    IProxy proxy = (IProxy) this.proxyMap.get(proxyName);
    if(proxy != null){
      this.proxyMap.remove(proxyName);
      proxy.onRemove();
    }
    return proxy;
  }
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.