Package laas.openrobots.ontology.service
This package stores all the classes related to service declaration.
A service is:
A service is:
- a method tagged with the
RPCMethod
annotation... - that is callable on an instanciated object (typically instanciated in
OroServer
)... - and that takes parameters belonging to
Boolean, Integer, Double, String, Set<String>, List<String>, Map<String, String>
and returns either one of these types or any object implementingtoString()
.
- Since:
- 0.6.5
- See Also:
RPCMethod
-
Interface Summary Interface Description IService IServiceProvider This interface sole purpose is to signal that a class implement services for the oro-server (ie, methods annotated with aRPCMethod
annotation). -
Class Summary Class Description ServiceImpl -
Annotation Types Summary Annotation Type Description RPCMethod This annotation marks all the available methods exposed to remote clients.
To actually register your services by the server, you just need to annotate the relevant method with a @RPCMethod annotation and to call theOroServer.addNewServiceProviders(IServiceProvider)
method.