[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-developer
Subject:    [jacorb-developer] IFR reload ?
From:       remi () rvkb ! com
Date:       2005-09-30 11:40:40
Message-ID: 1128080440.433d243846d5a () imp ! pro ! proxad ! net
[Download RAW message or body]

Hi JacORBers !

I was wondering if there is any way to keep JacORB's Interface
Repository in sync with the underlying compiled classes ? I mean, can
the IFR "scan" for underlying new .class files and refresh IDL defs it
provides ?

I'm dynamically compiling thoses ones from IDL definitions that are
supplied at run-time (using JacIDL). At the moment I have to restart the =
IFR if
I want it to have my new stuff inside :-/
Is there any way to reload the contents ?

There are those methods that seem to do so :

org.jacorb.ir.RepositoryImpl.loadContents();
org.jacorb.ir.Container.loadContents()

but they're local Java stuff, so I won't be able to use them... :-/

Another option, if the IFR is not able to refresh, can't I feed the IR
directly from IDL defs instead of compiling classes somewhere ? I'm
sorry if I missed it in the docs, but I did not see such thing, which
I was used to with other ORBs (the usual "feed_ir" script)...

Any idea ?

Cheers

Remi

PS : I'm thinking about "hacking" RepositoryImpl to add this feature (e.g=
.
refresh classes every X seconds) if it's not yet available... otherwise I=
 would
have to switch to another IR vendor and that would confuse users even mor=
e than
now (they're not CORBA specialists unfortunately :-/)


--
R=E9mi VANKEISBELCK
remi@rvkb.com
http://www.rvkb.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic