Annotation Type 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 java.lang.Class<?>[]
service_exported_interfaces
Service property marking the service for export.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
service_exported_configs
Service property identifying the configuration types that should be used to export the service.java.lang.String[]
service_exported_intents
Service property identifying the intents that the distribution provider must implement to distribute the service.java.lang.String[]
service_exported_intents_extra
Service property identifying the extra intents that the distribution provider must implement to distribute the service.java.lang.String[]
service_intents
Service property identifying the intents that this service implements.
-
-
-
Element Detail
-
service_exported_interfaces
java.lang.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:
Constants.SERVICE_EXPORTED_INTERFACES
-
-
-
service_exported_configs
java.lang.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:
Constants.SERVICE_EXPORTED_CONFIGS
- Default:
- {}
-
-
-
service_exported_intents
java.lang.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:
Constants.SERVICE_EXPORTED_INTENTS
- Default:
- {}
-
-
-
service_exported_intents_extra
java.lang.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:
Constants.SERVICE_EXPORTED_INTENTS_EXTRA
- Default:
- {}
-
-
-
service_intents
java.lang.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:
Constants.SERVICE_INTENTS
- Default:
- {}
-
-