ops4j / org.ops4j.pax.swissbox

Other
10 stars 12 forks source link

Refactor BundleEntryScanner so it can be easier extended/customized by subclasses [PAXSB-6] #16

Closed ops4j-issues closed 16 years ago

ops4j-issues commented 16 years ago

Alin Dreghiciu created PAXSB-6

Up to version 0.2.0 the only extensibility point in BundleEntryScanner is the way URL's found into the extended bundle are adapted to the required format.
Refactor this in order to:
1. allow a pluggable form of scanning the bundle: currently it is using bundle.findEntries. This is not always suitable as find entries always return urls. Will be better if this can be overridden by different approaches as using getEntryPaths that will return path to entryes as string. useful when you need the name of the entry.
2. make getPath/getFilePattern/getRecurse protected (from private) so can be used by subclasses.


Affects: 0.1.0, 0.2.0 Fixed in: 1.0.0 Votes: 0, Watches: 0

ops4j-issues commented 16 years ago

Alin Dreghiciu commented

Mentioned refactorings implemented.

ops4j-issues commented 15 years ago

Alin Dreghiciu commented

Released as part of 1.0.0