Annotation Interface RemoteScope
Provides scoping metadata for an exposed service. For an object to be remotely exposed, it must bear one of these
annotations or it will be forbidden based on the container configuration.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionIndicates if this service is deprecated.Indicates the module's code style. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The core Elements scope.static final String
The JSON-RPC Protocol tunneled via HTTP.static final String
The Elements Native RT Protocolstatic final String
The master node scope.static final String
Indicates the protocol for remote dispatchstatic final String
Indicates the scope for remote dispatchstatic final String
The worker node scope.
-
Field Details
-
API_SCOPE
The core Elements scope.- See Also:
-
MASTER_SCOPE
The master node scope.- See Also:
-
WORKER_SCOPE
The worker node scope.- See Also:
-
ELEMENTS_RT_PROTOCOL
The Elements Native RT Protocol- See Also:
-
ELEMENTS_JSON_RPC_PROTOCOL
The JSON-RPC Protocol tunneled via HTTP.- See Also:
-
REMOTE_SCOPE
Indicates the scope for remote dispatch- See Also:
-
REMOTE_PROTOCOL
Indicates the protocol for remote dispatch- See Also:
-
-
Element Details
-
scope
String scopeIndicates the scope of the service. Note scopes prefixed with "eci" are reserved for system use.- Returns:
- the scope.
-
protocol
String protocolIndicates the protocol of the service. Note protocols prefixed with "eci" are reserved for system use.- Returns:
- the scope.
-
style
CodeStyle styleIndicates the module's code style. By default this enforces natural code style.- Returns:
- the
CodeStyle
- Default:
@dev.getelements.elements.rt.annotation.CodeStyle(methodCaseFormat=NATURAL, constantCaseFormat=NATURAL, parameterCaseFormat=NATURAL)
-
deprecated
DeprecationDefinition deprecatedIndicates if this service is deprecated.- Returns:
- the
DeprecationDefinition
- Default:
@dev.getelements.elements.rt.annotation.DeprecationDefinition(deprecated=false)
-