PDA

View Full Version : RmiRegistry - How to specify to use rebind( ) instead of bind( )



svejb
Dec 28th, 2005, 01:42 PM
Hi there,

Howdy. Is there a way to indicate to the java.rmi.registry.Registry in org.springframework.remoting.rmi.RmiRegistryFactor yBean to use the rebind( ) instead of bind( ).

Any thoughts are greatly appreciated.

Costin Leau
Jan 7th, 2006, 03:21 PM
RmiRegistryFactoryBean just creates/lookups the Registry - if you want to alter its behavior you can use for example AOP to intercept calls to bind and redirect them to rebind.