I would like to dispose of a connector instance. I mean, how to let framework know that I want to close all the connections, dispose of the connection pool and free all the resources associated with particular connector instance. This may be a way how to avoid resource waste. But it may be also needed in usual operational situations. E.g. I have reconfigured the resource and I want to force "logout and login" of the connector.
I have looked through the framework, but I haven't found a way how to do this now. There is already a dispose() method in the SPI. But I haven't found any way how to force this from the API side. If I'm missing something then please point my nose in the right direction. If this is indeed missing from the API I would like to implement it.