cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Kernel classloading
Date Tue, 23 Nov 2004 08:58:20 GMT
Pier,

IIUC a block declares in a descriptor file all components that it wants to 
provide to other blocks by their interfaces. External blocks can then lookup 
those components because they are provided by the classloader.

Is it still true that a block can have a "block-public.jar" and a 
"block-private.jar"? The block-private.jar is shielded and only available within 
the block and the block-public.jar contains all classes (including the 
interfaces of publicly available components + other public available classes) 
that will be publicly available?

I'm  asking because the whiteboard/block-builder is based on a separation of 
public and private classes (--> JARs). This ensures that block A, that depends 
on block B, is compiled only by using block B's public JAR. (... and the eclipse 
.classpath also contains only block B's public JAR).

-- 
Reinhard

Mime
View raw message