
com.github.marschall.osgi.remoting.ejb.api.ProxyFlusher Maven / Gradle / Ivy
The newest version!
package com.github.marschall.osgi.remoting.ejb.api;
/**
* Allows to flush and relookup all client proxies.
*
*
* This is mostly useful for lazy login. It can be used as follows:
*
* - do unauthenticated class
* - authenticate (through proprietary API)
* - call {@link #flushProxies()}
* - all calls from this moment on will be authenticated
*
*
*
* All the services stay valid after the flushing.
*/
public interface ProxyFlusher {
/**
* Flushes all client proxies and looks them up again. Blocks until
* successful.
*/
public void flushProxies();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy