Annotation Interface ExportedService


@ComponentPropertyType @Retention(CLASS) @Target(TYPE) public @interface ExportedService
Component Property Type for the remote service properties for an exported service.

This annotation can be used on a Component to declare the values of the remote service properties for an exported service.

Since:
1.4
See Also:
  • "Component Property Types"
  • "Remote Services Specification"
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
    Service property marking the service for export.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Service property identifying the configuration types that should be used to export the service.
    Service property identifying the intents that the distribution provider must implement to distribute the service.
    Service property identifying the extra intents that the distribution provider must implement to distribute the service.
    Service property identifying the intents that this service implements.
  • Element Details

    • service_exported_interfaces

      Class<?>[] service_exported_interfaces
      Service property marking the service for export. It defines the interfaces under which the service can be exported.

      If an empty array is specified, the property is not added to the component description.

      Returns:
      The exported service interfaces.
      See Also:
    • service_exported_configs

      String[] service_exported_configs
      Service property identifying the configuration types that should be used to export the service.

      If an empty array is specified, the default value, the property is not added to the component description.

      Returns:
      The configuration types.
      See Also:
      Default:
      {}
    • service_exported_intents

      String[] service_exported_intents
      Service property identifying the intents that the distribution provider must implement to distribute the service.

      If an empty array is specified, the default value, the property is not added to the component description.

      Returns:
      The intents that the distribution provider must implement to distribute the service.
      See Also:
      Default:
      {}
    • service_exported_intents_extra

      String[] service_exported_intents_extra
      Service property identifying the extra intents that the distribution provider must implement to distribute the service.

      If an empty array is specified, the default value, the property is not added to the component description.

      Returns:
      The extra intents that the distribution provider must implement to distribute the service.
      See Also:
      Default:
      {}
    • service_intents

      String[] service_intents
      Service property identifying the intents that this service implements.

      If an empty array is specified, the default value, the property is not added to the component description.

      Returns:
      The intents that the service implements.
      See Also:
      Default:
      {}