Annotation Interface Platform.Resource

Enclosing class:
Platform

@Target(TYPE) @Retention(RUNTIME) @Inherited @Documented public static @interface Platform.Resource
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    defines the layer that the service belongs to.
    boolean
    defines the logging status of the resource
  • Element Details

    • logging

      boolean logging
      defines the logging status of the resource
      Returns:
      the logging status: true if the request/response handled by the service will be logged; falseotherwise. the default value is false
      Default:
      false
    • layer

      String layer
      defines the layer that the service belongs to. If the service class is defined under a package marked as an CustomLayer, the layer is automatically deduced and so this attribute is not necessary.

      However, if the value is made explicit, this takes precedence over automatic deduction.

      Returns:
      the layer that the service belongs to
      Default:
      ""