openSEAL Stereotype Reference: <<Service Method>>

Summary

A Service Manager logically groups one or more Service Method where the method provides a corse-grained business function.

General Characteristics:

  • Public Method on a Service Manager
  • Often denotes a transactional unit of work, with reasonably intuitive semantics
  • Course-grained (not chatty)
  • Typically stateless
  • Often called remotely

Usage:

Encapsulates, and called to perform, logical unit of business work.

Example:

using System;
using System.Collections;

using org.openseal.refapp.types;

namespace org.openseal.refapp.business.api
{

    /// 
    /// A simple Service Manager Interface
    /// 
    public interface IHelloWorldService
    {
        /// A Service Method to return a Hello World message.
        HelloWorldType getThyMessage();

    } // end of interface
    
} // end of namespace