Jan 18th, 2007, 10:07 AM
RmiInvoker proxy and type of target object
I managed to export some POJOs via Spring's RmiServiceExporter. Accessing it on the client is no problem.
I know that in the case of "plain" objects exported via RmiInvoker proxy no "regular" RMI access is possible. Though I would like to perform some generic querying where I want to know the type of objects registered in a RMI Registry.
The idea is to retrieve an object from java.rmi.registry.Registry.lookup() and deduce the implemented interface from it.
Is that possible? If not, could an enhancement of the Spring infrastructure make this possible?
Thanks for informations,
Jan 19th, 2007, 02:20 AM
I posted a Jira request here.