Top Description Methods
org.osgi.service.cdi.propertytypes

public @Interface ExportedService

extends Annotation
Annotations
@BeanPropertyType
@Retention:RUNTIME
@Target:FIELD, METHOD, PARAMETER, TYPE
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, org.osgi.framework.Constants, org.osgi.service.cdi.annotations.BeanPropertyType

Bean Property Type for the remote service properties for an exported service.

This annotation can be used as defined by BeanPropertyType to declare the values of the remote service properties for an exported service.

Author
$Id: 3fc681d228b7395cb367c293d0409b7089b8a44c $
See Also
Bean Property Types, Remote Services Specification

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

The configuration types.
service_exported_configs
()

Service property identifying the configuration types that should be used to export the service.

public String[]

Returns:

The intents that the distribution provider must implement to distribute the service.
service_exported_intents
()

Service property identifying the intents that the distribution provider must implement to distribute the service.

public String[]

Returns:

The extra intents that the distribution provider must implement to distribute the service.
service_exported_intents_extra
()

Service property identifying the extra intents that the distribution provider must implement to distribute the service.

public Class<?>[]

Returns:

The exported service interfaces.
service_exported_interfaces
()

Service property marking the service for export.

public String[]

Returns:

The intents that the service implements.
service_intents
()

Service property identifying the intents that this service implements.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

service_exported_configsback to summary
public 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:String[]

The configuration types.

See Also
Constants#SERVICE_EXPORTED_CONFIGS
service_exported_intentsback to summary
public 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:String[]

The intents that the distribution provider must implement to distribute the service.

See Also
Constants#SERVICE_EXPORTED_INTENTS
service_exported_intents_extraback to summary
public 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:String[]

The extra intents that the distribution provider must implement to distribute the service.

See Also
Constants#SERVICE_EXPORTED_INTENTS_EXTRA
service_exported_interfacesback to summary
public 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:Class<?>[]

The exported service interfaces.

See Also
Constants#SERVICE_EXPORTED_INTERFACES
service_intentsback to summary
public 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:String[]

The intents that the service implements.

See Also
Constants#SERVICE_INTENTS