* @author Markus Kr�ger
* @date 07.07.2006
*/
public void updateDispatches() {
if (dispatchProviderInterceptor != null) {
XDispatchProviderInterception xDispatchProviderInterception = (XDispatchProviderInterception) UnoRuntime
.queryInterface(XDispatchProviderInterception.class, xFrame);
if (xDispatchProviderInterception != null) {
xDispatchProviderInterception
.releaseDispatchProviderInterceptor(dispatchProviderInterceptor);
dispatchProviderInterceptor = null;
}
}
if (dispatchProviderInterceptor == null) {
XDispatchProviderInterception xDispatchProviderInterception = (XDispatchProviderInterception) UnoRuntime
.queryInterface(XDispatchProviderInterception.class, xFrame);
if (xDispatchProviderInterception != null) {
dispatchProviderInterceptor = new DispatchProviderInterceptor();
xDispatchProviderInterception
.registerDispatchProviderInterceptor(dispatchProviderInterceptor);
}
}
}