In some cases I want to pull up a sling instances in pax exam but want to
remove some lower level bundles and replace them with some custom bundle.
This can not be handled by simply providing a different version.

An example is:
I want to load sling using SlingOptions.slingDistribution() but I want to
remove the sling event bundle and install my own bundle instead.

As the methods in SlingOptions are all static I can not simply extend the
class and and override the SlingOptions.slingEvent() method.

So currently I copy all features that I need from SlingOptions into my own
class and change what I need to change there. This is of course not very
manageable and also kind of hides the fact that most of the bundle will
stay the same.

Any ideas how to tackle this problem?

Christian

-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to