[ mx4j-Bugs-1164309 ] IIOP / ORB.init

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1164309, was opened at 2005-03-16 09:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1164309&group_id=47745

Category: RMI Adaptor/Connector
Group: Release 3.0.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Florent BENOIT (fbenoit)
Assigned to: Nobody/Anonymous (nobody)
Summary: IIOP / ORB.init

Initial Comment:
  Hi, 

Instead of recreating an ORB object in class
mx4j.remote.resolver.iiop.Resolver in method getORB(Map
environment), it could check that the environment
object contains "java.naming.corba.orb" property, then
it returns the ORB object with something like : (ORB) 
environment.get("java.naming.corba.orb");
(there could be a check on the object to check that it
is an ORB object. See JMX javadoc : "If the
java.naming.corba.orb attribute is specified and does
not point to an ORB, then an IllegalArgumentException
will be thrown.")

See reference of this property in JDK 5 javadoc :
http://java.sun.com/j2se/1.5.0/docs/api/javax/management/remote/rmi/package-summary.html

Thanks.

Florent.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1164309&group_id=47745


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.