|
Re: No reuse of component identifications (CBE)? [message #83180 is a reply to message #83084] |
Tue, 12 September 2006 13:44 |
Eclipse User |
|
|
|
Originally posted by: cindyjin.ca.ibm.com
HiHolger:
This is because that General Log Adapter(GLA)is using EMF based CBE
implementation to produce CBEs. In EMF model an object cannot be
reference by one or more containers. So when you reuse a
ComponentIdentification object, all other CBEs which has reference to
this ComponentIdentification are set the reference to null. You can use
CBE factory to generate ComponentIdentification and fill the component
ID with your cached information.
Thanks
Cindy
Holger Machens wrote:
> Hi,
>
> i developed a static Log Parser plugin. I tried to cash and reuse
> component identifications for the CBEs but it doesn't work. Debugging of
> the problem shows the following. In the case i reuse a component
> identification (ci) in a new CBE the references of other CBEs on this ci
> changes to null sometimes.
>
> Is this the intended behavior to prevent reusing of ci?
>
> Greetings
> Holger
|
|
|
Powered by
FUDForum. Page generated in 0.03328 seconds