[jbosstools-dev] classpath containers

Rob Stryker rob.stryker at redhat.com
Mon Feb 23 21:48:24 EST 2009


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



More information about the jbosstools-dev mailing list