XML Feeds

.

[java-dev] Re: Re: Re: caching javaclasses?

Christian Veit c.veit at inode.at
Sun Sep 30 13:55:02 MDT 2007


> You can do a bit of scripting to remove and reinstantiate the mxj  
> object which contains your code, so that you can least reload  
> everything from a button. (You'll need to name the upstream and  
> downstream objects in order to reconnect them.)

thanks for that hint.. so i've tried at the moment to remove and reinstantiate the mxj.. it works fine.. 

now i should reconnect the mxj with the other objects.. should be no problem if i know the connections.. there are two possibilities i could code it into my reconnect mxj.. 

but the way i would like to prefer is that my reconnect mxj is watching which connections are existing to my reinstantiating mxj.. i would save the connections and remove the object.. the reconnection should only read the saved values, so i could use the  reconnect mxj in many cases.. only the name of the object and the classname have to be defined the rest should be done with the reconnect mxj.. 

so is there a way to find out to which other objects in the patch at which inlets or outlets they are connected.. i didn't found something about that in the java-doc.. so i expect that it is impossible or not?

c.  



More information about the java-dev mailing list