org.eclipse.osgi.internal.loader.buddy
Class GlobalPolicy
java.lang.Object
org.eclipse.osgi.internal.loader.buddy.GlobalPolicy
- All Implemented Interfaces:
- IBuddyPolicy
public class GlobalPolicy
- extends Object
- implements IBuddyPolicy
Global policy is an implementation of a buddy policy. It is responsible
for looking up a class within the global set of exported classes. If multiple
version of the same package are exported in the system, the exported package
with the highest version will be returned.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalPolicy
public GlobalPolicy(PackageAdmin admin)
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.