org.eclipse.osgi.internal.loader.buddy
Class SystemPolicy

java.lang.Object
  extended by org.eclipse.osgi.internal.loader.buddy.SystemPolicy
All Implemented Interfaces:
IBuddyPolicy

public class SystemPolicy
extends Object
implements IBuddyPolicy


Field Summary
static byte APP
           
static byte BOOT
           
static byte EXT
           
 
Constructor Summary
SystemPolicy()
           
SystemPolicy(ClassLoader parent)
           
 
Method Summary
static SystemPolicy getInstance(byte type)
           
 Class<?> loadClass(String name)
           
 URL loadResource(String name)
           
 Enumeration<URL> loadResources(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOT

public static final byte BOOT
See Also:
Constant Field Values

EXT

public static final byte EXT
See Also:
Constant Field Values

APP

public static final byte APP
See Also:
Constant Field Values
Constructor Detail

SystemPolicy

public SystemPolicy()

SystemPolicy

public SystemPolicy(ClassLoader parent)
Method Detail

getInstance

public static SystemPolicy getInstance(byte type)

loadClass

public Class<?> loadClass(String name)
Specified by:
loadClass in interface IBuddyPolicy

loadResource

public URL loadResource(String name)
Specified by:
loadResource in interface IBuddyPolicy

loadResources

public Enumeration<URL> loadResources(String name)
Specified by:
loadResources in interface IBuddyPolicy


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.