Annotation 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 -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReturns a stable public business contract identity.intReturns the public service contract version, independent of generated index format.booleanReturns whether the service should be exported automatically.Returns the logical transport selector.
-
Element Details
-
name
String nameReturns the logical service name.- Returns:
- J7M service name, usually under an application namespace
-
exported
boolean exportedReturns whether the service should be exported automatically.- Returns:
truewhen the application platform should export it
- Default:
true
-
transport
String transportReturns the logical transport selector.- Returns:
- transport selector such as
default; never a vendor API
- Default:
"default"
-
contractId
String contractIdReturns a stable public business contract identity.- Returns:
- explicit identity, or empty to use each manifest-declared interface binary name
- Default:
""
-
contractVersion
int contractVersionReturns the public service contract version, independent of generated index format.- Returns:
- positive version, default 1
- Default:
1
-