question: unexport the rmi registry on bean factory shutdown , provided that this bean actually created a registry . concode_field_sep Registry registry concode_elem_sep RMIClientSocketFactory clientSocketFactory concode_elem_sep Log logger concode_elem_sep int port concode_elem_sep String host concode_elem_sep RMIServerSocketFactory serverSocketFactory concode_elem_sep boolean alwaysCreate concode_elem_sep boolean created concode_field_sep void setHost concode_elem_sep void setServerSocketFactory concode_elem_sep Registry getObject concode_elem_sep Registry getRegistry concode_elem_sep Registry getRegistry concode_elem_sep Registry getRegistry concode_elem_sep boolean isSingleton concode_elem_sep void setPort concode_elem_sep void setAlwaysCreate concode_elem_sep int getPort concode_elem_sep void afterPropertiesSet concode_elem_sep Class<? extends Registry> getObjectType concode_elem_sep String getHost concode_elem_sep void setClientSocketFactory concode_elem_sep void testRegistry
target: void function ( ) { if ( this . created ) { logger . info ( "srini_string" ) ; UnicastRemoteObject . unexportObject ( this . registry , true ) ; } }