Package com.rabbitmq.tools.jsonrpc
Class ServiceDescription
java.lang.Object
com.rabbitmq.tools.jsonrpc.ServiceDescription
Description of a JSON-RPC service.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceDescription(Class<?> klass) ServiceDescription(Map<String, Object> rawServiceDescription) -
Method Summary
Modifier and TypeMethodDescriptiongetHelp()getId()getName()getProcedure(String newname, int arity) Looks up a single ProcedureDescription by name and arity.getProcs()Gets a collection of allProcedureDescriptionfor this servicevoidvoidvoidvoidsetProcs(Collection<Map<String, Object>> p) Private API - used via reflection during parsing/loadingvoidsetSummary(String summary) voidsetVersion(String version)
-
Field Details
-
JSON_RPC_VERSION
- See Also:
-
-
Constructor Details
-
ServiceDescription
-
ServiceDescription
-
ServiceDescription
public ServiceDescription()
-
-
Method Details
-
getProcs
Gets a collection of allProcedureDescriptionfor this service -
setProcs
Private API - used via reflection during parsing/loading -
getProcedure
Looks up a single ProcedureDescription by name and arity.- Returns:
- non-null ProcedureDescription if a match is found
- Throws:
IllegalArgumentException- if no match is found
-
getName
-
getId
-
getVersion
-
getSummary
-
getHelp
-
setName
-
setId
-
setVersion
-
setSummary
-
setHelp
-