1

OSGi サービスに ProgressMonitor を実装したかったのです。IProgessMonitor のプロトコルと、サービス内での使用方法を理解しています。

ただし、IProgressMonitor の実装がどのようになるかはわかりません。また、OSGi サービスの場合、進行状況を取得/読み取るにはどうすればよいですか。

4

1 に答える 1

1

There is no progress or status indicator for an OSGi service. If you wish to put something in place for long running calls you will have to do it in an application specific way as there is no standard for this.

A blocking call will return when it is done, if it is a non-blocking call, then it may provide some sort of callback or event based response, but again, that would be application specific.

IProgressMonitor is an Eclipse thing, which has not direct correlation to OSGi.

于 2012-05-16T15:59:32.990 に答える