Package jadex.extension.rs.invoke
Class SRest
- java.lang.Object
-
- jadex.extension.rs.invoke.SRest
-
public class SRest extends java.lang.Object
Static helper class for rest web service invocation.
-
-
Constructor Summary
Constructors Constructor Description SRest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
createServiceImplementation(IInternalAccess agent, java.lang.Class<?> type, java.lang.Class<?> impl)
Create a wrapper rest service implementation based on mapping information.
-
-
-
Method Detail
-
createServiceImplementation
public static java.lang.Object createServiceImplementation(IInternalAccess agent, java.lang.Class<?> type, java.lang.Class<?> impl)
Create a wrapper rest service implementation based on mapping information. Components can call this method to create a service implementation that uses an external service.- Parameters:
agent
- The internal access of the publishing agent.type
- The Jadex interface type of the service to be published.impl
- The mapping infomation as annotated interface class.
-
-