Rob Stryker wrote:
Max Rydahl Andersen wrote:
> Great, so only do the fix in the ESB specific code and if possible
> refactor it up in the base instead of changing a copied base..
>
> Anyway, the current fix is not performant.
>
> /max
There is no code to refactor or contribute up to the base. Zero. He
doesn't need to change hte copied base at all. He just needs to
install a listener on the server / runtime models to find out when a
runtime disappears and manually call refresh on his CPC. He'd have to
do this whether it was an as.core base or a copied base or anything.
The container has a "refresh" method which never gets called on its
own. The user must call it himself. This behavior is not done
automatically for you.
So no changes must be made to his CPC, neither the copied abstract
base nor the subclass. Which means nothing must be contributed up to
as.classpath
It seems to annoyed you a little, I would like to say we don't
mean
it's the problem of your code, we just want to find a solution to solve
the issue, there are maybe many solutions and try to find a better one,
if use the way that you said that installing a listener can solve it
completely,
it's ok, we can use it. I have no idea where the listener should be
installed, can you point out if there is an example about it?
Denny