Context実装サービス jp.ossc.nimbus.service.context.GroupContextService

jp.ossc.nimbus.service.context.GroupContextServiceは、複数のコンテキストをグルーピングして参照できるContext実装サービスです。

このサービスは、複合的なサービスで、以下のサービスを下位サービスとして使用します。

下位サービスインタフェース用途
jp.ossc.nimbus.service.context.Contextグルーピングするコンテキスト情報。

以下に簡単なサービス定義を示します。

  1. <?xml version="1.0" encoding="Shift_JIS"?>
  2. <!DOCTYPE server PUBLIC
  3. "-//Nimbus//DTD Nimbus 1.0//JA"
  4. "http://nimbus.sourceforge.jp/dtd/nimbus-service_1_0.dtd">
  5. <server>
  6. <manager>
  7. <!-- 複数のコンテキストをグルーピングして参照できるContext実装サービス -->
  8. <service name="Context"
  9. code="jp.ossc.nimbus.service.context.GroupContextService">
  10. <!-- グルーピングするContextサービスのサービス名を設定する -->
  11. <attribute name="ContextServiceNames">
  12. #Context1
  13. #Context2
  14. </attribute>
  15. </service>
  16. <service name="Context1"
  17. code="jp.ossc.nimbus.service.context.DefaultContextService"/>
  18. <service name="Context2"
  19. code="jp.ossc.nimbus.service.context.DefaultContextService"/>
  20. </manager>
  21. </server>


コンテキスト/Context