org.eclipse.equinox.p2.core_2.2.0.v20120430-0525

      return newObject;
    }
    return reference;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.StrongPool
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core;

public class UIServices$AuthenticationInfo
{
  private final boolean save;
  private final String userName;
  private final String password;
  
  public UIServices$AuthenticationInfo(String userName, String password, boolean saveResult)
  {
    this.userName = userName;
    this.password = password;
    save = saveResult;
  }
  
  public boolean saveResult()
  {
    return save;
  }
  
  public String getUserName()
  {
    return userName;
  }
  
  public String getPassword()
  {
    return password;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.UIServices.AuthenticationInfo
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core;

import java.security.cert.Certificate;

public class UIServices$TrustInfo
{
  private final Certificate[] trustedCertificates;
  private final boolean saveTrustedCertificates;
  private final boolean trustUnsigned;
  
  public UIServices$TrustInfo(Certificate[] trusted, boolean save, boolean trustUnsigned)
  {
    trustedCertificates = trusted;
    saveTrustedCertificates = save;
    this.trustUnsigned = trustUnsigned;
  }
  
  public Certificate[] getTrustedCertificates()
  {
    return trustedCertificates;
  }
  
  public boolean persistTrust()
  {
    return saveTrustedCertificates;
  }
  
  public boolean trustUnsignedContent()
  {
    return trustUnsigned;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.UIServices.TrustInfo
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core;

import java.security.cert.Certificate;

public abstract class UIServices
{
  public static final String SERVICE_NAME = UIServices.class.getName();
  public static final AuthenticationInfo AUTHENTICATION_PROMPT_CANCELED = new AuthenticationInfo("", "", false);
  
  public abstract AuthenticationInfo getUsernamePassword(String paramString);
  
  public abstract AuthenticationInfo getUsernamePassword(String paramString, AuthenticationInfo paramAuthenticationInfo);
  
  public abstract TrustInfo getTrustInfo(Certificate[][] paramArrayOfCertificate, String[] paramArrayOfString);
  
  public static class AuthenticationInfo
  {
    private final boolean save;
    private final String userName;
    private final String password;
    
    public AuthenticationInfo(String userName, String password, boolean saveResult)
    {
      this.userName = userName;
      this.password = password;
      save = saveResult;
    }
    
    public boolean saveResult()
    {
      return save;
    }
    
    public String getUserName()
    {
      return userName;
    }
    
    public String getPassword()
    {
      return password;
    }
  }
  
  public static class TrustInfo
  {
    private final Certificate[] trustedCertificates;
    private final boolean saveTrustedCertificates;
    private final boolean trustUnsigned;
    
    public TrustInfo(Certificate[] trusted, boolean save, boolean trustUnsigned)
    {
      trustedCertificates = trusted;
      saveTrustedCertificates = save;
      this.trustUnsigned = trustUnsigned;
    }
    
    public Certificate[] getTrustedCertificates()
    {
      return trustedCertificates;
    }
    
    public boolean persistTrust()
    {
      return saveTrustedCertificates;
    }
    
    public boolean trustUnsignedContent()
    {
      return trustUnsigned;
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.UIServices
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core;

import java.lang.ref.WeakReference;
import java.util.Map;
import java.util.WeakHashMap;

public class WeakPool<T>
  implements IPool<T>
{
  private Map<T, WeakReference<T>> pool = new WeakHashMap();
  
  public T add(T newObject)
  {
    if (newObject == null) {
      return null;
    }
    WeakReference<T> weakReference = (WeakReference)pool.get(newObject);
    if (weakReference != null)
    {
      T reference = weakReference.get();
      if (reference != null) {
        return reference;
      }
    }
    pool.put(newObject, new WeakReference(newObject));
    return newObject;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.WeakPool
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core.spi;

public abstract interface Constants
{
  public static final String MACOSX_BUNDLED = "macosx-bundled";
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.spi.Constants
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core.spi;

public abstract interface IAgentService
{
  public abstract void start();
  
  public abstract void stop();
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.spi.IAgentService
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.equinox.p2.core.spi;

import org.eclipse.equinox.p2.core.IProvisioningAgent;

public abstract interface IAgentServiceFactory
{
  static
  {
    try {}catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
  
  public static final String SERVICE_NAME = Class.forName("org.eclipse.equinox.p2.core.spi.IAgentServiceFactory").getName();
  public static final String PROP_CREATED_SERVICE_NAME = "p2.agent.servicename";
  
  public abstract Object createService(IProvisioningAgent paramIProvisioningAgent);
}

/* Location:
 * Qualified Name:     org.eclipse.equinox.p2.core.spi.IAgentServiceFactory
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
1 2 3 4

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd