Class RemoteServiceInvoker

java.lang.Object
io.jmix.restds.impl.service.RemoteServiceInvoker

@Component("restds_RemoteServiceInvoker") public class RemoteServiceInvoker extends Object
  • Field Details

    • environment

      protected final org.springframework.core.env.Environment environment
    • restDataStoreUtils

      protected final RestDataStoreUtils restDataStoreUtils
    • entitySerialization

      protected final EntitySerialization entitySerialization
    • metadata

      protected final Metadata metadata
    • datatypeRegistry

      protected final DatatypeRegistry datatypeRegistry
  • Constructor Details

  • Method Details

    • invokeServiceMethod

      @Nullable public Object invokeServiceMethod(Class<?> serviceInterface, Method method, @Nullable Object[] args)
    • getServiceUri

      protected String getServiceUri(String serviceName, String storeName, Method method)
    • getParamsJson

      protected String getParamsJson(EntitySerialization entitySerialization, Method method, @Nullable Object[] args)
    • getResultObject

      @Nullable protected Object getResultObject(EntitySerialization entitySerialization, Method method, @Nullable String resultJson)
    • isEntity

      protected boolean isEntity(Class<?> aClass)
    • isCollectionOfEntities

      protected boolean isCollectionOfEntities(Type type)
    • deserializePrimitive

      @Nullable protected Object deserializePrimitive(@Nullable String json, Class<?> type)