/** * Remove the client of the given name from the static cache. Next time {@link #getClient(String, Properties, boolean)} is called, * initialization cost will have to be paid once again.<br> * Use <code>null</code> to reset the default client.<br> * This method is mostly useful for tests when databases are reset and therefore clients become invalid as they hold connections to * them.<br> * If the name does not exist, no exception is thrown. * * @param name * the client to reset, or <code>null</code> for the default client */ public static void resetClient(String name) { if (binder == null) { bind(); } binder.getClientFactory().resetClient(name); }