org.eclipse.osgi_3.7.2.v20120110-1415

createImpl0()
  {
    try
    {
      Class<?> implClazz = getImplClass();
      Constructor<?> constructor = implClazz.getConstructor(new Class[] { Map.class });
      return (Framework)constructor.newInstance(new Object[] { configuration });
    }
    catch (ClassNotFoundException localClassNotFoundException2)
    {
      throw new NoClassDefFoundError("org.eclipse.osgi.framework.internal.core.EquinoxLauncher");
    }
    catch (IllegalAccessException e)
    {
      throw new RuntimeException(e.getMessage(), e);
    }
    catch (NoSuchMethodException e)
    {
      throw new NoSuchMethodError(e.getMessage());
    }
    catch (InstantiationException e)
    {
      throw new RuntimeException(e.getMessage(), e);
    }
    catch (InvocationTargetException e)
    {
      throw new RuntimeException(e.getMessage(), e);
    }
  }
  
  private Class<?> getImplClass()
    throws ClassNotFoundException
  {
    ClassLoader thisCL = getClass().getClassLoader();
    if ((!useSeparateCL) || (!(thisCL instanceof URLClassLoader))) {
      return Class.forName("org.eclipse.osgi.framework.internal.core.EquinoxLauncher");
    }
    URL[] cp = getFrameworkURLs((URLClassLoader)thisCL);
    EquinoxFWClassLoader fwCL = new EquinoxFWClassLoader(cp, thisCL);
    return fwCL.loadClass("org.eclipse.osgi.framework.internal.core.EquinoxLauncher");
  }
  
  /* Error */
  private URL[] getFrameworkURLs(URLClassLoader frameworkLoader)
  {
    // Byte code:
    //   0: aload_1
    //   1: invokevirtual 433	java/net/URLClassLoader:getURLs	()[Ljava/net/URL;
    //   4: astore_2
    //   5: new 210	java/util/ArrayList
    //   8: dup
    //   9: aload_2
    //   10: arraylength
    //   11: invokespecial 436	java/util/ArrayList:<init>	(I)V
    //   14: astore_3
    //   15: iconst_0
    //   16: istore 4
    //   18: goto +299 -> 317
    //   21: aconst_null
    //   22: astore 5
    //   24: aload_2
    //   25: iload 4
    //   27: aaload
    //   28: invokevirtual 428	java/net/URL:getFile	()Ljava/lang/String;
    //   31: ldc 2
    //   33: invokevirtual 418	java/lang/String:endsWith	(Ljava/lang/String;)Z
    //   36: ifeq +24 -> 60
    //   39: new 206	java/net/URL
    //   42: dup
    //   43: aload_2
    //   44: iload 4
    //   46: aaload
    //   47: ldc 4
    //   49: invokespecial 432	java/net/URL:<init>	(Ljava/net/URL;Ljava/lang/String;)V
    //   52: invokevirtual 427	java/net/URL:openStream	()Ljava/io/InputStream;
    //   55: astore 5
    //   57: goto +47 -> 104
    //   60: new 206	java/net/URL
    //   63: dup
    //   64: new 200	java/lang/StringBuffer
    //   67: dup
    //   68: ldc 5
    //   70: invokespecial 421	java/lang/StringBuffer:<init>	(Ljava/lang/String;)V
    //   73: aload_2
    //   74: iload 4
    //   76: aaload
    //   77: invokevirtual 430	java/net/URL:toExternalForm	()Ljava/lang/String;
    //   80: invokevirtual 422	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   83: ldc 1
    //   85: invokevirtual 422	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   88: ldc 4
    //   90: invokevirtual 422	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   93: invokevirtual 420	java/lang/StringBuffer:toString	()Ljava/lang/String;
    //   96: invokespecial 431	java/net/URL:<init>	(Ljava/lang/String;)V
    //   99: invokevirtual 427	java/net/URL:openStream	()Ljava/io/InputStream;
    //   102: astore 5
    //   104: aload 5
    //   106: new 217	org/eclipse/osgi/framework/util/Headers
    //   109: dup
    //   110: bipush 10
    //   112: invokespecial 440	org/eclipse/osgi/framework/util/Headers:<init>	(I)V
    //   115: invokestatic 455	org/eclipse/osgi/util/ManifestElement:parseBundleManifest	(Ljava/io/InputStream;Ljava/util/Map;)Ljava/util/Map;
    //   118: astore 6
    //   120: aload_0
    //   121: aload 6
    //   123: ldc 3
    //   125: invokespecial 449	org/eclipse/osgi/launch/Equinox:getValue	(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
    //   128: astore 7
    //   130: aload 7
    //   132: ifnonnull +20 -> 152
    //   135: aload 5
    //   137: ifnull +177 -> 314
    //   140: aload 5
    //   142: invokevirtual 402	java/io/InputStream:close	()V
    //   145: goto +169 -> 314
    //   148: pop
    //   149: goto +165 -> 314
    //   152: invokestatic 438	org/eclipse/osgi/framework/internal/core/Constants:getInternalSymbolicName	()Ljava/lang/String;
    //   155: astore 8
    //   157: aload 8
    //   159: aload 7
    //   161: invokevirtual 417	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   164: ifeq +28 -> 192
    //   167: aload_0
    //   168: aload_2
    //   169: iload 4
    //   171: aaload
    //   172: aload 7
    //   174: aload_3
    //   175: invokespecial 450	org/eclipse/osgi/launch/Equinox:addDevClassPaths	(Ljava/net/URL;Ljava/lang/String;Ljava/util/List;)V
    //   178: aload_3
    //   179: aload_2
    //   180: iload 4
    //   182: aaload
    //   183: invokeinterface 458 2 0
    //   188: pop
    //   189: goto +111 -> 300
    //   192: aload_0
    //   193: aload 6
    //   195: aload 8
    //   197: invokespecial 447	org/eclipse/osgi/launch/Equinox:isFrameworkFragment	(Ljava/util/Map;Ljava/lang/String;)Z
    //   200: ifne +20 -> 220
    //   203: aload 5
    //   205: ifnull +109 -> 314
    //   208: aload 5
    //   210: invokevirtual 402	java/io/InputStream:close	()V
    //   213: goto +101 -> 314
    //   216: pop
    //   217: goto +97 -> 314
    //   220: aload_0
    //   221: aload_2
    //   222: iload 4
    //   224: aaload
    //   225: aload 7
    //   227: aload_3
    //   228: invokespecial 450	org/eclipse/osgi/launch/Equinox:addDevClassPaths	(Ljava/net/URL;Ljava/lang/String;Ljava/util/List;)V
    //   231: aload_3
    //   232: aload_2
    //   233: iload 4
    //   235: aaload
    //   236: invokeinterface 458 2 0
    //   241: pop
    //   242: goto +58 -> 300
    //   245: pop
    //   246: aload 5
    //   248: ifnull +66 -> 314
    //   251: aload 5
    //   253: invokevirtual 402	java/io/InputStream:close	()V
    //   256: goto +58 -> 314
    //   259: pop
    //   260: goto +54 -> 314
    //   263: pop
    //   264: aload 5
    //   266: ifnull +48 -> 314
    //   269: aload 5
    //   271: invokevirtual 402	java/io/InputStream:close	()V
    //   274: goto +40 -> 314
    //   277: pop
    //   278: goto +36 -> 314
    //   281: astore 9
    //   283: aload 5
    //   285: ifnull +12 -> 297
    //   288: aload 5
    //   290: invokevirtual 402	java/io/InputStream:close	()V
    //   293: goto +4 -> 297
    //   296: pop
    //   297: aload 9
    //   299: athrow
    //   300: aload 5
    //   302: ifnull +12 -> 314
    //   305: aload 5
    //   307: invokevirtual 402	java/io/InputStream:close	()V
    //   310: goto +4 -> 314
    //   313: pop
    //   314: iinc 4 1
    //   317: iload 4
    //   319: aload_2
    //   320: arraylength
    //   321: if_icmplt -300 -> 21
    //   324: aload_3
    //   325: aload_3
    //   326: invokeinterface 457 1 0
    //   331: anewarray 206	java/net/URL
    //   334: invokeinterface 459 2 0
    //   339: checkcast 185	[Ljava/net/URL;
    //   342: areturn
    // Line number table:
    //   Java source line #88	-> byte code offset #0
    //   Java source line #89	-> byte code offset #5
    //   Java source line #90	-> byte code offset #15
    //   Java source line #92	-> byte code offset #21
    //   Java source line #94	-> byte code offset #24
    //   Java source line #95	-> byte code offset #39
    //   Java source line #97	-> byte code offset #60
    //   Java source line #99	-> byte code offset #104
    //   Java source line #100	-> byte code offset #120
    //   Java source line #101	-> byte code offset #130
    //   Java source line #120	-> byte code offset #135
    //   Java source line #122	-> byte code offset #140
    //   Java source line #123	-> byte code offset #148
    //   Java source line #102	-> byte code offset #149
    //   Java source line #103	-> byte code offset #152
    //   Java source line #104	-> byte code offset #157
    //   Java source line #106	-> byte code offset #167
    //   Java source line #107	-> byte code offset #178
    //   Java source line #109	-> byte code offset #192
    //   Java source line #120	-> byte code offset #203
    //   Java source line #122	-> byte code offset #208
    //   Java source line #123	-> byte code offset #216
    //   Java source line #110	-> byte code offset #217
    //   Java source line #112	-> byte code offset #220
    //   Java source line #113	-> byte code offset #231
    //   Java source line #115	-> byte code offset #245
    //   Java source line #120	-> byte code offset #246
    //   Java source line #122	-> byte code offset #251
    //   Java source line #123	-> byte code offset #259
    //   Java source line #116	-> byte code offset #260
    //   Java source line #117	-> byte code offset #263
    //   Java source line #120	-> byte code offset #264
    //   Java source line #122	-> byte code offset #269
    //   Java source line #123	-> byte code offset #277
    //   Java source line #118	-> byte code offset #278
    //   Java source line #119	-> byte code offset #281
    //   Java source line #120	-> byte code offset #283
    //   Java source line #122	-> byte code offset #288
    //   Java source line #123	-> byte code offset #296
    //   Java source line #126	-> byte code offset #297
    //   Java source line #120	-> byte code offset #300
    //   Java source line #122	-> byte code offset #305
    //   Java source line #123	-> byte code offset #313
    //   Java source line #90	-> byte code offset #314
    //   Java source line #128	-> byte code offset #324
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	343	0	this	Equinox
    //   0	343	1	frameworkLoader	URLClassLoader
    //   4	316	2	cp	URL[]
    //   14	312	3	result	List<URL>
    //   16	302	4	i	int
    //   22	284	5	manifest	InputStream
    //   118	4	6	headers	Map<String, String>
    //   152	42	6	headers	Map<String, String>
    //   220	1	6	headers	Map<String, String>
    //   128	3	7	bsnSpec	String
    //   152	21	7	bsnSpec	String
    //   220	6	7	bsnSpec	String
    //   155	41	8	internalBSN	String
    //   220	1	8	internalBSN	String
    //   281	17	9	localObject	Object
    //   148	1	15	localIOException1	IOException
    //   216	1	16	localIOException2	IOException
    //   245	1	17	localIOException3	IOException
    //   259	1	18	localIOException4	IOException
    //   263	1	19	localBundleException	BundleException
    //   277	1	20	localIOException5	IOException
    //   296	1	21	localIOException6	IOException
    //   313	1	22	localIOException7	IOException
    // Exception table:
    //   from	to	target	type
    //   140	145	148	java/io/IOException
    //   208	213	216	java/io/IOException
    //   24	135	245	java/io/IOException
    //   152	203	245	java/io/IOException
    //   220	242	245	java/io/IOException
    //   251	256	259	java/io/IOException
    //   24	135	263	org/osgi/framework/BundleException
    //   152	203	263	org/osgi/framework/BundleException
    //   220	242	263	org/osgi/framework/BundleException
    //   269	274	277	java/io/IOException
    //   24	135	281	finally
    //   152	203	281	finally
    //   220	246	281	finally
    //   263	264	281	finally
    //   288	293	296	java/io/IOException
    //   305	310	313	java/io/IOException
  }
  
  private void addDevClassPaths(URL cp, String bsn, List<URL> result)
  {
    if (!cp.getPath().endsWith("/")) {
      return;
    }
    String[] devPaths = DevClassPathHelper.getDevClassPath(bsn);
    if (devPaths == null) {
      return;
    }
    for (int i = 0; i < devPaths.length; i++) {
      try
      {
        char lastChar = devPaths[i].charAt(devPaths[i].length() - 1);
        URL url;
        URL url;
        if ((devPaths[i].endsWith(".jar")) || (lastChar == '/') || (lastChar == '\\')) {
          url = new URL(cp, devPaths[i]);
        } else {
          url = new URL(cp, devPaths[i] + "/");
        }
        result.add(url);
      }
      catch (MalformedURLException localMalformedURLException) {}
    }
  }
  
  private boolean isFrameworkFragment(Map<String, String> headers, String internalBSN)
  {
    String hostBSN = getValue(headers, "Fragment-Host");
    return (internalBSN.equals(hostBSN)) || ("system.bundle".equals(hostBSN));
  }
  
  private String getValue(Map<String, String> headers, String key)
  {
    String headerSpec = (String)headers.get(key);
    if (headerSpec == null) {
      return null;
    }
    try
    {
      elements = ManifestElement.parseHeader(key, headerSpec);
    }
    catch (BundleException localBundleException)
    {
      ManifestElement[] elements;
      return null;
    }
    ManifestElement[] elements;
    if (elements == null) {
      return null;
    }
    return elements[0].getValue();
  }
  
  private synchronized Framework getImpl()
  {
    if (impl == null) {
      impl = createImpl();
    }
    return impl;
  }
  
  public void init()
    throws BundleException
  {
    getImpl().init();
  }
  
  public FrameworkEvent waitForStop(long timeout)
    throws InterruptedException
  {
    return getImpl().waitForStop(timeout);
  }
  
  public Enumeration<URL> findEntries(String path, String filePattern, boolean recurse)
  {
    return getImpl().findEntries(path, filePattern, recurse);
  }
  
  public BundleContext getBundleContext()
  {
    return getImpl().getBundleContext();
  }
  
  public long getBundleId()
  {
    return getImpl().getBundleId();
  }
  
  public URL getEntry(String path)
  {
    return getImpl().getEntry(path);
  }
  
  public Enumeration<String> getEntryPaths(String path)
  {
    return getImpl().getEntryPaths(path);
  }
  
  public Dictionary<String, String> getHeaders()
  {
    return getImpl().getHeaders();
  }
  
  public Dictionary<String, String> getHeaders(String locale)
  {
    return getImpl().getHeaders(locale);
  }
  
  public long getLastModified()
  {
    return getImpl().getLastModified();
  }
  
  public String getLocation()
  {
    return getImpl().getLocation();
  }
  
  public ServiceReference<?>[] getRegisteredServices()
  {
    return getImpl().getRegisteredServices();
  }
  
  public URL getResource(String name)
  {
    return getImpl().getResource(name);
  }
  
  public Enumeration<URL> getResources(String name)
    throws IOException
  {
    return getImpl().getResources(name);
  }
  
  public ServiceReference<?>[] getServicesInUse()
  {
    return getImpl().getServicesInUse();
  }
  
  public int getState()
  {
    return getImpl().getState();
  }
  
  public String getSymbolicName()
  {
    return getImpl().getSymbolicName();
  }
  
  public boolean hasPermission(Object permission)
  {
    return getImpl().hasPermission(permission);
  }
  
  public Class<?> loadClass(String name)
    throws ClassNotFoundException
  {
    return getImpl().loadClass(name);
  }
  
  public void start(int options)
    throws BundleException
  {
    getImpl().start(options);
  }
  
  public void start()
    throws BundleException
  {
    getImpl().start();
  }
  
  public void stop(int options)
    throws BundleException
  {
    getImpl().stop(options);
  }
  
  public void stop()
    throws BundleException
  {
    getImpl().stop();
  }
  
  public void uninstall()
    throws BundleException
  {
    getImpl().uninstall();
  }
  
  public void update()
    throws BundleException
  {
    getImpl().update();
  }
  
  public void update(InputStream in)
    throws BundleException
  {
    getImpl().update(in);
  }
  
  public Map<X509Certificate, List<X509Certificate>> getSignerCertificates(int signersType)
  {
    return getImpl().getSignerCertificates(signersType);
  }
  
  public Version getVersion()
  {
    return getImpl().getVersion();
  }
  
  public <A> A adapt(Class<A> adapterType)
  {
    return (A)getImpl().adapt(adapterType);
  }
  
  public int compareTo(Bundle o)
  {
    return getImpl().compareTo(o);
  }
  
  public File getDataFile(String filename)
  {
    return getImpl().getDataFile(filename);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.launch.Equinox
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.launch;

import java.net.URL;
import java.net.URLClassLoader;

class EquinoxFWClassLoader
  extends URLClassLoader
{
  private static final String[] DELEGATE_PARENT_FIRST = { "java.", "org.osgi.", "org.eclipse.osgi.launch.", "org.eclipse.osgi.service.", "org.eclipse.osgi.framework.log", "org.eclipse.osgi.framework.adaptor", "org.eclipse.osgi.framework.internal.core.ReferenceInputStream" };
  private static final String[] DELEGATE_CHILD_FIRST = new String[0];
  private final ClassLoader parent;
  
  public EquinoxFWClassLoader(URL[] urls, ClassLoader parent)
  {
    super(urls, parent);
    this.parent = parent;
  }
  
  protected Class<?> loadClass(String name, boolean resolve)
    throws ClassNotFoundException
  {
    Class<?> clazz = findLoadedClass(name);
    if (clazz != null) {
      return clazz;
    }
    boolean childFirst = childFirst(name);
    ClassNotFoundException cnfe = null;
    if (childFirst) {
      try
      {
        clazz = findClass(name);
      }
      catch (ClassNotFoundException e)
      {
        cnfe = e;
      }
    }
    if (clazz == null) {
      try
      {
        clazz = parent.loadClass(name);
      }
      catch (ClassNotFoundException localClassNotFoundException1) {}
    }
    if ((clazz == null) && (cnfe != null)) {
      throw cnfe;
    }
    if ((clazz == null) && (!childFirst)) {
      clazz = findClass(name);
    }
    if (resolve) {
      resolveClass(clazz);
    }
    return clazz;
  }
  
  private boolean childFirst(String name)
  {
    for (int i = DELEGATE_CHILD_FIRST.length - 1; i >= 0; i--) {
      if (name.startsWith(DELEGATE_CHILD_FIRST[i])) {
        return true;
      }
    }
    for (int i = DELEGATE_PARENT_FIRST.length - 1; i >= 0; i--) {
      if (name.startsWith(DELEGATE_PARENT_FIRST[i])) {
        return false;
      }
    }
    return true;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.launch.EquinoxFWClassLoader
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.launch;

import java.util.Map;
import org.osgi.framework.launch.Framework;
import org.osgi.framework.launch.FrameworkFactory;

public class EquinoxFactory
  implements FrameworkFactory
{
  public Framework newFramework(Map<String, String> configuration)
  {
    return new Equinox(configuration);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.launch.EquinoxFactory
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.datalocation;

import java.io.IOException;
import java.net.URL;

public abstract interface Location
{
  public static final String INSTANCE_FILTER;
  public static final String INSTALL_FILTER;
  public static final String CONFIGURATION_FILTER;
  public static final String USER_FILTER;
  
  static
  {
    try {}catch (ClassNotFoundException localClassNotFoundException1)
    {
      throw new NoClassDefFoundError(localClassNotFoundException1.getMessage());
    }
    INSTANCE_FILTER = "(&(objectClass=" + Class.forName("org.eclipse.osgi.service.datalocation.Location").getName() + ")(type=osgi.instance.area))";
    try {}catch (ClassNotFoundException localClassNotFoundException2)
    {
      throw new NoClassDefFoundError(localClassNotFoundException2.getMessage());
    }
    INSTALL_FILTER = "(&(objectClass=" + Class.forName("org.eclipse.osgi.service.datalocation.Location").getName() + ")(type=osgi.install.area))";
    try {}catch (ClassNotFoundException localClassNotFoundException3)
    {
      throw new NoClassDefFoundError(localClassNotFoundException3.getMessage());
    }
    CONFIGURATION_FILTER = "(&(objectClass=" + Class.forName("org.eclipse.osgi.service.datalocation.Location").getName() + ")(type=osgi.configuration.area))";
    try {}catch (ClassNotFoundException localClassNotFoundException4)
    {
      throw new NoClassDefFoundError(localClassNotFoundException4.getMessage());
    }
    USER_FILTER = "(&(objectClass=" + Class.forName("org.eclipse.osgi.service.datalocation.Location").getName() + ")(type=osgi.user.area))";
    try {}catch (ClassNotFoundException localClassNotFoundException5)
    {
      throw new NoClassDefFoundError(localClassNotFoundException5.getMessage());
    }
  }
  
  public static final String ECLIPSE_HOME_FILTER = "(&(objectClass=" + Class.forName("org.eclipse.osgi.service.datalocation.Location").getName() + ")(type=eclipse.home.location))";
  
  public abstract boolean allowsDefault();
  
  public abstract URL getDefault();
  
  public abstract Location getParentLocation();
  
  public abstract URL getURL();
  
  public abstract boolean isSet();
  
  public abstract boolean isReadOnly();
  
  /**
   * @deprecated
   */
  public abstract boolean setURL(URL paramURL, boolean paramBoolean)
    throws IllegalStateException;
  
  public abstract boolean set(URL paramURL, boolean paramBoolean)
    throws IllegalStateException, IOException;
  
  public abstract boolean set(URL paramURL, boolean paramBoolean, String paramString)
    throws IllegalStateException, IOException;
  
  public abstract boolean lock()
    throws IOException;
  
  public abstract void release();
  
  public abstract boolean isLocked()
    throws IOException;
  
  public abstract Location createLocation(Location paramLocation, URL paramURL, boolean paramBoolean);
  
  public abstract URL getDataArea(String paramString)
    throws IOException;
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.datalocation.Location
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.debug;

import java.io.File;
import java.util.Map;

public abstract interface DebugOptions
{
  public static final String LISTENER_SYMBOLICNAME = "listener.symbolic.name";
  
  public abstract boolean getBooleanOption(String paramString, boolean paramBoolean);
  
  public abstract String getOption(String paramString);
  
  public abstract String getOption(String paramString1, String paramString2);
  
  public abstract int getIntegerOption(String paramString, int paramInt);
  
  public abstract Map<String, String> getOptions();
  
  public abstract void setOption(String paramString1, String paramString2);
  
  public abstract void setOptions(Map<String, String> paramMap);
  
  public abstract void removeOption(String paramString);
  
  public abstract boolean isDebugEnabled();
  
  public abstract void setDebugEnabled(boolean paramBoolean);
  
  public abstract void setFile(File paramFile);
  
  public abstract File getFile();
  
  public abstract DebugTrace newDebugTrace(String paramString);
  
  public abstract DebugTrace newDebugTrace(String paramString, Class<?> paramClass);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.debug.DebugOptions
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.debug;

import java.util.EventListener;

public abstract interface DebugOptionsListener
  extends EventListener
{
  public abstract void optionsChanged(DebugOptions paramDebugOptions);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.debug.DebugOptionsListener
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.debug;

public abstract interface DebugTrace
{
  public abstract void trace(String paramString1, String paramString2);
  
  public abstract void trace(String paramString1, String paramString2, Throwable paramThrowable);
  
  public abstract void traceDumpStack(String paramString);
  
  public abstract void traceEntry(String paramString);
  
  public abstract void traceEntry(String paramString, Object paramObject);
  
  public abstract void traceEntry(String paramString, Object[] paramArrayOfObject);
  
  public abstract void traceExit(String paramString);
  
  public abstract void traceExit(String paramString, Object paramObject);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.debug.DebugTrace
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.environment;

public abstract interface Constants
{
  public static final String OS_WIN32 = "win32";
  public static final String OS_LINUX = "linux";
  public static final String OS_AIX = "aix";
  public static final String OS_SOLARIS = "solaris";
  public static final String OS_HPUX = "hpux";
  public static final String OS_QNX = "qnx";
  public static final String OS_MACOSX = "macosx";
  public static final String OS_EPOC32 = "epoc32";
  public static final String OS_OS400 = "os/400";
  public static final String OS_OS390 = "os/390";
  public static final String OS_ZOS = "z/os";
  public static final String OS_UNKNOWN = "unknown";
  public static final String ARCH_X86 = "x86";
  public static final String ARCH_PA_RISC = "PA_RISC";
  public static final String ARCH_PPC = "ppc";
  public static final String ARCH_PPC64 = "ppc64";
  public static final String ARCH_SPARC = "sparc";
  public static final String ARCH_X86_64 = "x86_64";
  /**
   * @deprecated
   */
  public static final String ARCH_AMD64 = "x86_64";
  public static final String ARCH_IA64 = "ia64";
  public static final String ARCH_IA64_32 = "ia64_32";
  public static final String WS_WIN32 = "win32";
  public static final String WS_WPF = "wpf";
  public static final String WS_MOTIF = "motif";
  public static final String WS_GTK = "gtk";
  public static final String WS_PHOTON = "photon";
  public static final String WS_CARBON = "carbon";
  public static final String WS_COCOA = "cocoa";
  public static final String WS_S60 = "s60";
  public static final String WS_UNKNOWN = "unknown";
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.environment.Constants
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.environment;

public abstract interface EnvironmentInfo
{
  public abstract String[] getCommandLineArgs();
  
  public abstract String[] getFrameworkArgs();
  
  public abstract String[] getNonFrameworkArgs();
  
  public abstract String getOSArch();
  
  public abstract String getNL();
  
  public abstract String getOS();
  
  public abstract String getWS();
  
  public abstract boolean inDebugMode();
  
  public abstract boolean inDevelopmentMode();
  
  public abstract String getProperty(String paramString);
  
  public abstract String setProperty(String paramString1, String paramString2);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.environment.EnvironmentInfo
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.internal.composite;

import java.io.InputStream;
import org.eclipse.osgi.framework.adaptor.ClassLoaderDelegate;
import org.eclipse.osgi.service.resolver.BundleDescription;
import org.osgi.framework.BundleException;

public abstract interface CompositeModule
{
  public abstract void updateContent(InputStream paramInputStream)
    throws BundleException;
  
  public abstract void refreshContent();
  
  public abstract boolean resolveContent();
  
  public abstract BundleDescription getCompositeDescription();
  
  public abstract ClassLoaderDelegate getDelegate();
  
  public abstract void started(CompositeModule paramCompositeModule);
  
  public abstract void stopped(CompositeModule paramCompositeModule);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.internal.composite.CompositeModule
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.localization;

import java.util.ResourceBundle;
import org.osgi.framework.Bundle;

public abstract interface BundleLocalization
{
  public abstract ResourceBundle getLocalization(Bundle paramBundle, String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.localization.BundleLocalization
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.localization;

import java.util.Locale;

public abstract interface LocaleProvider
{
  public abstract Locale getLocale();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.localization.LocaleProvider
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.pluginconversion;

public class PluginConversionException
  extends Exception
{
  private static final long serialVersionUID = 3258130258472284472L;
  private transient Throwable cause;
  
  public PluginConversionException() {}
  
  public PluginConversionException(String message)
  {
    super(message);
  }
  
  public PluginConversionException(String message, Throwable cause)
  {
    super(message);
    this.cause = cause;
  }
  
  public PluginConversionException(Throwable cause)
  {
    this.cause = cause;
  }
  
  public Throwable getCause()
  {
    return cause;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.pluginconversion.PluginConversionException
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.pluginconversion;

import java.io.File;
import java.util.Dictionary;

public abstract interface PluginConverter
{
  public abstract File convertManifest(File paramFile1, File paramFile2, boolean paramBoolean1, String paramString, boolean paramBoolean2, Dictionary<String, String> paramDictionary)
    throws PluginConversionException;
  
  public abstract Dictionary<String, String> convertManifest(File paramFile, boolean paramBoolean1, String paramString, boolean paramBoolean2, Dictionary<String, String> paramDictionary)
    throws PluginConversionException;
  
  public abstract void writeManifest(File paramFile, Dictionary<String, String> paramDictionary, boolean paramBoolean)
    throws PluginConversionException;
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.pluginconversion.PluginConverter
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

import java.util.Map;
import org.osgi.framework.Version;
import org.osgi.framework.wiring.BundleCapability;

public abstract interface BaseDescription
{
  public abstract String getName();
  
  public abstract Version getVersion();
  
  public abstract BundleDescription getSupplier();
  
  public abstract Map<String, String> getDeclaredDirectives();
  
  public abstract Map<String, Object> getDeclaredAttributes();
  
  public abstract BundleCapability getCapability();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.BaseDescription
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

public abstract interface BundleDelta
  extends Comparable<BundleDelta>
{
  public static final int ADDED = 1;
  public static final int REMOVED = 2;
  public static final int UPDATED = 4;
  public static final int RESOLVED = 8;
  public static final int UNRESOLVED = 16;
  /**
   * @deprecated
   */
  public static final int LINKAGE_CHANGED = 32;
  /**
   * @deprecated
   */
  public static final int OPTIONAL_LINKAGE_CHANGED = 64;
  public static final int REMOVAL_PENDING = 128;
  public static final int REMOVAL_COMPLETE = 256;
  
  public abstract BundleDescription getBundle();
  
  public abstract int getType();
  
  public abstract int compareTo(BundleDelta paramBundleDelta);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.BundleDelta
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

import java.util.Map;
import org.osgi.framework.wiring.BundleRevision;

public abstract interface BundleDescription
  extends BaseDescription, BundleRevision
{
  public abstract String getSymbolicName();
  
  public abstract Map<String, Object> getAttributes();
  
  public abstract String getLocation();
  
  public abstract BundleSpecification[] getRequiredBundles();
  
  public abstract ExportPackageDescription[] getExportPackages();
  
  public abstract ImportPackageSpecification[] getImportPackages();
  
  public abstract ImportPackageSpecification[] getAddedDynamicImportPackages();
  
  public abstract GenericSpecification[] getGenericRequires();
  
  public abstract GenericDescription[] getGenericCapabilities();
  
  public abstract boolean hasDynamicImports();
  
  public abstract ExportPackageDescription[] getSelectedExports();
  
  public abstract GenericDescription[] getSelectedGenericCapabilities();
  
  public abstract BundleDescription[] getResolvedRequires();
  
  public abstract ExportPackageDescription[] getResolvedImports();
  
  public abstract GenericDescription[] getResolvedGenericRequires();
  
  public abstract boolean isResolved();
  
  public abstract State getContainingState();
  
  public abstract String toString();
  
  public abstract HostSpecification getHost();
  
  public abstract long getBundleId();
  
  public abstract BundleDescription[] getFragments();
  
  public abstract boolean isSingleton();
  
  public abstract boolean isRemovalPending();
  
  public abstract BundleDescription[] getDependents();
  
  public abstract Object getUserObject();
  
  public abstract void setUserObject(Object paramObject);
  
  public abstract String getPlatformFilter();
  
  public abstract boolean attachFragments();
  
  public abstract boolean dynamicFragments();
  
  public abstract String[] getExecutionEnvironments();
  
  public abstract NativeCodeSpecification getNativeCodeSpecification();
  
  public abstract ExportPackageDescription[] getSubstitutedExports();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.BundleDescription
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

public abstract interface BundleSpecification
  extends VersionConstraint
{
  public abstract boolean isExported();
  
  public abstract boolean isOptional();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.BundleSpecification
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

public final class DisabledInfo
{
  private final String policyName;
  private final String message;
  private final BundleDescription bundle;
  
  public DisabledInfo(String policyName, String message, BundleDescription bundle)
  {
    if ((policyName == null) || (bundle == null)) {
      throw new IllegalArgumentException();
    }
    this.policyName = policyName;
    this.message = message;
    this.bundle = bundle;
  }
  
  public String getPolicyName()
  {
    return policyName;
  }
  
  public String getMessage()
  {
    return message;
  }
  
  public BundleDescription getBundle()
  {
    return bundle;
  }
  
  public boolean equals(Object obj)
  {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof DisabledInfo)) {
      return false;
    }
    DisabledInfo other = (DisabledInfo)obj;
    if ((getBundle() == other.getBundle()) && (getPolicyName().equals(other.getPolicyName())) && 
      (getMessage() == null ? other.getMessage() == null : getMessage().equals(other.getMessage()))) {
      return true;
    }
    return false;
  }
  
  public int hashCode()
  {
    int result = 1;
    result = 31 * result + (bundle == null ? 0 : bundle.hashCode());
    result = 31 * result + (policyName == null ? 0 : policyName.hashCode());
    result = 31 * result + (message == null ? 0 : message.hashCode());
    return result;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.DisabledInfo
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

import java.util.Map;

public abstract interface ExportPackageDescription
  extends BaseDescription
{
  /**
   * @deprecated
   */
  public abstract boolean isRoot();
  
  public abstract Map<String, Object> getAttributes();
  
  public abstract Map<String, Object> getDirectives();
  
  public abstract Object getDirective(String paramString);
  
  public abstract BundleDescription getExporter();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.ExportPackageDescription
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

import java.util.Dictionary;
import org.osgi.framework.Version;

public abstract interface GenericDescription
  extends BaseDescription
{
  public static final String DEFAULT_TYPE = "generic";
  
  public abstract Dictionary<String, Object> getAttributes();
  
  public abstract String getType();
  
  /**
   * @deprecated
   */
  public abstract String getName();
  
  /**
   * @deprecated
   */
  public abstract Version getVersion();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.GenericDescription
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

public abstract interface GenericSpecification
  extends VersionConstraint
{
  public static final int RESOLUTION_OPTIONAL = 1;
  public static final int RESOLUTION_MULTIPLE = 2;
  
  public abstract String getMatchingFilter();
  
  public abstract String getType();
  
  public abstract int getResolution();
  
  public abstract GenericDescription[] getSuppliers();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.GenericSpecification
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

public abstract interface HostSpecification
  extends VersionConstraint
{
  public abstract BundleDescription[] getHosts();
  
  public abstract boolean isMultiHost();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.HostSpecification
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

import java.util.Map;

public abstract interface ImportPackageSpecification
  extends VersionConstraint
{
  public static final String RESOLUTION_STATIC = "static";
  public static final String RESOLUTION_OPTIONAL = "optional";
  public static final String RESOLUTION_DYNAMIC = "dynamic";
  
  public abstract String getBundleSymbolicName();
  
  public abstract VersionRange getBundleVersionRange();
  
  public abstract Map<String, Object> getAttributes();
  
  public abstract Map<String, Object> getDirectives();
  
  public abstract Object getDirective(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.ImportPackageSpecification
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

import org.osgi.framework.Filter;

public abstract interface NativeCodeDescription
  extends BaseDescription, Comparable<NativeCodeDescription>
{
  public abstract String[] getNativePaths();
  
  public abstract String[] getProcessors();
  
  public abstract String[] getOSNames();
  
  public abstract VersionRange[] getOSVersions();
  
  public abstract String[] getLanguages();
  
  public abstract Filter getFilter();
  
  public abstract int compareTo(NativeCodeDescription paramNativeCodeDescription);
  
  public abstract boolean hasInvalidNativePaths();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.NativeCodeDescription
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.osgi.service.resolver;

public abstract interface NativeCodeSpecification
  extends VersionConstraint
{
  public abstract NativeCodeDescription[] getPossibleSuppliers();
  
  public abstract boolean isOptional();
}

/* Location:
 * Qualified Name:     org.eclipse.osgi.service.resolver.NativeCodeSpecification
 * Java Class Version: 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84

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-2017. Infinite Loop Ltd