Delegation model WAS Re: Goals was: Re: Supporting OSGi Bundles in the Java Module System
Adrian Brock
abrock at REDHAT.COM
Thu Jun 12 06:28:37 PDT 2008
On Wed, 2008-06-11 at 22:31 -0700, Stanley M. Ho wrote:
> >> 2) Model - parent/child or peer
>
> I think you meant the module system inteorp model, not the repository
> delegation model. Right?
>
I don't see the difference? Hierarchical or Peer delegation
policies between repositories are orthogonal choices to which
module system backs that repository.
It's precisely this orthogonality that causes me to think
that we can't just say "create a new repository implementation"
to change a particular rule/policy.
There are ~ N^2 choices of overrides to what the default
repositories do.
e.g. (probably not a good example since the osgi
module system would use OBR?)
1) A simple file repository containing jam files
2) The same containing osgi bundles
3) A remote repository containing jam files
4) A remote repository contains osgi bundles
And those are just two of the many
orthogonal choices 2^2 = 4
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jsr277-eg-observer
mailing list