At 09:33 PM 6/8/2002 +0000, you wrote:
>mcconnell    2002/06/08 14:33:51
>
>   Modified: 
> containerkit/src/java/org/apache/excalibur/containerkit/metainfo
>                         AbstractServiceDescriptor.java ComponentInfo.java
>                         DependencyDescriptor.java ServiceDescriptor.java
> 
>containerkit/src/java/org/apache/excalibur/containerkit/verifier
>                         AssemblyVerifier.java
>   Log:
>   addition of reverse association between dependency -> componet info and 
> service -> component info

I am not sure that the *Descriptor should be referring to ComponentInfo. 
The main reason is that I see that in some circumstances it would be useful 
to sub-class ComponentInfo (say to include more metadata) but you should 
never be sub-classing the *Descriptors. And thus when you accesss 
ComponentInfo from a Descriptor you may need to cast it to get the actual 
Info object which seems icky. So can we just omit those back-pointers?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to