posted 17 years ago
Hi,
i am developing an eclipse plugn that communicates via RMI to a server.
To activate dynamic code download, I have to proved the two following system properties:
- java.security.policy
- java.rmi.server.codebase
Currently I set them by a System.setProperty call.
I think that this might cause some trouble, if other plugins also use RMI and use the same mechanism to provide these properties.
Is there a way to set these properties from within the porgram?
I am thinking about something like the HashMap to provide the settings for JNDI to create the initial context.
/dirk