Class RemoteService.Util
java.lang.Object
dev.getelements.elements.rt.annotation.RemoteService.Util
- Enclosing class:
RemoteService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFinds the name of a type annotated withRemoteService
.static Optional
<RemoteScope> Gets the definition matching scope and protocol.static String
Finds the name of a type annotated withRemoteService
.static RemoteScope
Gets the definition matching scope and protocol.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
findName
Finds the name of a type annotated withRemoteService
. -
getName
Finds the name of a type annotated withRemoteService
. -
findScope
Gets the definition matching scope and protocol.- Parameters:
cls
- the typeprotocol
- the protocolscope
- the scope- Returns:
- the
Optional<RemoteScope>
which matches.
-
getScope
Gets the definition matching scope and protocol.- Parameters:
cls
- the typeprotocol
- the protocolscope
- the scope- Returns:
- the
RemoteScope
which matches.
-