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 StringFinds the name of a type annotated withRemoteService.static RemoteScopeGets 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
RemoteScopewhich matches.
-