in my Wirebox.cfc I have a map(“name”).toJava(“clientpath”).initWith(“args”,“Args”);
is there a way to tell wirebox to rewire or change the initWith() arguments.
Jeremy R. DeYoung
Phone: 615.261.8201
in my Wirebox.cfc I have a map(“name”).toJava(“clientpath”).initWith(“args”,“Args”);
is there a way to tell wirebox to rewire or change the initWith() arguments.
Jeremy R. DeYoung
Phone: 615.261.8201
What do you mean change the init with arguments?
At runtime or have it mapped beforehand?
In my wirebox.cfc I have a entry that says
map(‘search’).toJava(‘searchClientJavaJarName’).initWith(‘IPAddresss’,‘instanceRMIName’);
when I call the ‘search’, it is able to connect to my Java RMI Server without any problems.
However, when my RMI server is in need of maintenance, I need to be able to change the ‘IPAddress’ and ‘instanceRMIName’ to point to a new machine.
Wirebox wires up my search RMI connector but I haven’t figured out how to change the IP or Name without re-initing my framework.
Jeremy R. DeYoung
Phone: 615.261.8201
Ok, when you say change the ip address for maintenace, do you need to re-create the instance? are there methods in the instance that can provide you a way to change it?
Luis F. Majano
President
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com