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

java.lang.Object
  extended by org.eclipse.osgi.internal.loader.buddy.DependentPolicy
All Implemented Interfaces:
IBuddyPolicy
Direct Known Subclasses:
RegisteredPolicy

public class DependentPolicy
extends Object
implements IBuddyPolicy

DependentPolicy is an implementation of a buddy policy. It is responsible for looking up a class in the dependents of the bundle to which this policy is attached to.


Constructor Summary
DependentPolicy(BundleLoader requester)
           
 
Method Summary
 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
 

Constructor Detail

DependentPolicy

public DependentPolicy(BundleLoader requester)
Method Detail

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.