Class BundleIndex
java.lang.Object
org.eclipse.jetty.osgi.BundleIndex
Maintains a cross-reference between bundles and their corresponding jetty Resource representations.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.BundlegetResource(org.osgi.framework.Bundle bundle) getURI(org.osgi.framework.Bundle bundle) indexBundle(ResourceFactory resourceFactory, org.osgi.framework.Bundle bundle) Keep track of a jetty URI Resource and its associated OSGi bundle. 
- 
Constructor Details
- 
BundleIndex
public BundleIndex() 
 - 
 - 
Method Details
- 
indexBundle
public Resource indexBundle(ResourceFactory resourceFactory, org.osgi.framework.Bundle bundle) throws Exception Keep track of a jetty URI Resource and its associated OSGi bundle.- Parameters:
 resourceFactory- the ResourceFactory to convert bundle locationbundle- the bundle to index- Returns:
 - the resource for the bundle
 - Throws:
 Exception- if unable to create the resource reference
 - 
getURI
 - 
getResource
 - 
getBundle
 
 -