You need to either import the CallbackRegistry class
(import org.apache.kandula.coordinator.CallbackRegistry;),
or use the fully qualified class name.

I inserted the remove() call before the notify() call.

As Dasarath pointed out, these fixes should be regarded as quick-and-dirty.
A better design is needed to both satisfy the WS-AT specification and to
avoid memory leaks.

Wenbing

----- Original Message ----
From: Valerio Vianello <[EMAIL PROTECTED]>
To: Wenbing Zhao <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2006 7:14:10 AM
Subject: Re: memory leakage?

Hi Zhao
 
I fixed the code but when compile it I have same problem like this :
 
...tor\at\AbstractParticipant.java:150: cannot resolve symbol
symbol  : variable CallbackRegistry
location: class org.apache.kandula.coordinator.at.AbstractParticipant
                        CallbackRegistry.getInstance().remove(this);
                        ^
 
in the CompletionInitiatorCallback I must insert the code after notify() ?
 
thanks
 
Valerio
 
 

Reply via email to