Annotation Interface J7mService


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface J7mService
Declares an application service that can be exported by the J7M application platform.

The annotation describes the J7M service contract, not a transport product. Export still flows through the normal ObjectRef and authorization model. Security annotations on the type and methods are included in generated descriptors; runtime enforcement depends on the configured authorization policy or explicit descriptor integration. The annotation itself never grants registry access, transport access, or caller authority.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the logical service name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns a stable public business contract identity.
    int
    Returns the public service contract version, independent of generated index format.
    boolean
    Returns whether the service should be exported automatically.
    Returns the logical transport selector.
  • Element Details

    • name

      String name
      Returns the logical service name.
      Returns:
      J7M service name, usually under an application namespace
    • exported

      boolean exported
      Returns whether the service should be exported automatically.
      Returns:
      true when the application platform should export it
      Default:
      true
    • transport

      String transport
      Returns the logical transport selector.
      Returns:
      transport selector such as default; never a vendor API
      Default:
      "default"
    • contractId

      String contractId
      Returns a stable public business contract identity.
      Returns:
      explicit identity, or empty to use each manifest-declared interface binary name
      Default:
      ""
    • contractVersion

      int contractVersion
      Returns the public service contract version, independent of generated index format.
      Returns:
      positive version, default 1
      Default:
      1