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 StringThe core Elements scope.static final StringThe JSON-RPC Protocol tunneled via HTTP.static final StringThe Elements Native RT Protocolstatic final StringThe master node scope.static final StringIndicates the protocol for remote dispatchstatic final StringIndicates the scope for remote dispatchstatic final StringThe 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)
-