BeanFlowInvokerServer実装サービス jp.ossc.nimbus.service.beancontrol.BeanFlowInvokerServerService

jp.ossc.nimbus.service.beancontrol.BeanFlowInvokerServerServiceは、リモートから業務フローを呼び出す受付を行うBeanFlowInvokerServer実装サービスです。

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

下位サービスインタフェース用途
jp.ossc.nimbus.service.beancontrol.BeanFlowInvokerFactory業務フローを生成する。
jp.ossc.nimbus.service.respository.RespositoryRMIまたはJNDIサーバにBeanFlowInvokerServerリモートオブジェクトを登録する
jp.ossc.nimbus.service.keepalive.ClusterServiceBeanFlowInvokerServerをクラスタ化する
jp.ossc.nimbus.service.aop.InterceptorChainFactory業務フローにインターセプタチェインをアスペクトする
jp.ossc.nimbus.service.performance.ResourceUsageリソース使用状況を取得する

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

  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. <!-- リモート業務フロー受付サービス -->
  8. <service name="BeanFlowInvokerServer"
  9. code="jp.ossc.nimbus.service.beancontrol.BeanFlowInvokerServerService">
  10. <!-- BeanFlowInvokerServerリモートオブジェクトをバインドするRepositoryサービスのサービス名を設定する -->
  11. <attribute name="JndiRepositoryServiceName">#RMIRepository</attribute>
  12. <!-- BeanFlowInvokerServerリモートオブジェクトを共有するクラスタサービスのサービス名を設定する -->
  13. <attribute name="ClusterServiceName">#Cluster</attribute>
  14. <!-- 業務フローを生成するBeanFlowInvokerFactoryサービスのサービス名を設定する -->
  15. <attribute name="BeanFlowInvokerFactoryServiceName">#BeanFlowInvokerFactory</attribute>
  16. <depends>Cluster</depends>
  17. <depends>RMIRepository</depends>
  18. <depends>BeanFlowInvokerFactory</depends>
  19. </service>
  20. <!-- クラスタサービス -->
  21. <service name="Cluster"
  22. code="jp.ossc.nimbus.service.keepalive.ClusterService">
  23. <attribute name="MulticastGroupAddress">239.0.0.10</attribute>
  24. <attribute name="JoinOnStart">false</attribute>
  25. </service>
  26. <!-- RMIリポジトリサービス -->
  27. <service name="RMIRepository"
  28. code="jp.ossc.nimbus.service.repository.RMIRepositoryService">
  29. <attribute name="CreateRegistry">true</attribute>
  30. <attribute name="Port">1099</attribute>
  31. </service>
  32. <!-- 業務フローを生成するBeanFlowInvokerFactoryサービス -->
  33. <service name="BeanFlowInvokerFactory"
  34. code="jp.ossc.nimbus.service.beancontrol.DefaultBeanFlowInvokerFactoryService">
  35. <attribute name="DirPaths">flows</attribute>
  36. <attribute name="BeanFlowInvokerAccessClass">jp.ossc.nimbus.service.beancontrol.BeanFlowInvokerAccessImpl2</attribute>
  37. <attribute name="Validate">true</attribute>
  38. </service>
  39. </manager>
  40. </server>


業務フロー/BeanFlowInvokerServer
死活監視/KeepAliveChecker