Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SRest

        public SRest()
    • 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.