Interface IRestMethodGenerator

  • All Known Implementing Classes:
    DefaultRestMethodGenerator

    public interface IRestMethodGenerator
    Rest method generator interface. The publish service uses the generator to create detailed information about the methods to publish. The generator already includes all rest details into the rest method info that is returned.
    • Method Detail

      • generateRestMethodInfos

        java.util.List<RestMethodInfo> generateRestMethodInfos​(IServiceIdentifier serviceid,
                                                               java.lang.ClassLoader classloader,
                                                               java.lang.Class<?> baseclass,
                                                               java.util.Map<java.lang.String,​java.lang.Object> mapprops)
                                                        throws java.lang.Exception
        Generate the rest method infos.
        Parameters:
        service - The Jadex service.
        classloader - The classloader.
        baseclass - The (abstract or concrete) baseclass or interface.
        mapprops - Additional mapping properties.
        Returns:
        The method infos.
        Throws:
        java.lang.Exception