Top Description Constructors Methods
org.osgi.service.component

public final Class AnyService

extends Object
Class Inheritance

A marker type whose name is used in the interface attribute of a reference element in a component description to indicate that the type of the service for a reference is not specified and can thus be any service type.

When specifying this marker type in the interface attribute of a reference element in a component description:

For example:

@Reference(service = AnyService.class, target = "(osgi.jakartars.extension=true)")
List<Object> extensions;
Since
1.5

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AnyServiceback to summary
private AnyService()