RE: Components do not have to be services?
"Stephen McConnell" <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <000201c49205$01cf6f80$1601a8c0@gloria> |
> -----Original Message----- > From: Foiles, Doug [mailto:[email protected]] > Sent: 04 September 2004 00:12 > To: [email protected] > Subject: Components do not have to be services? > > I understand that components do not have to be services. I would only > mark a component as a service if I want it "injected" into another > component. I would of course setup dependencies on it from other > components that require it. Any pitfalls in making a component a > service when it does not need to be? Thanks. If you declare that a class is a component then it will be validated if the jar file is used within Merlin. If validation fails then a warning leg message will be generated but no runtime failure will occur. Stephen. > Doug