@Qualifier @Target(value={TYPE,METHOD,PARAMETER,FIELD}) @Retention(value=RUNTIME) @Documented public @interface OsgiServiceProvider
In application code, this qualifier shall only be used on classes and producer methods.
For each bean with this qualifier, a bean instance is automatically registered as an OSGi service
when the ContainerInitialized event has been observed.
The classes() attribute denotes the classes or interfaces under which this service is
registered, defaulting to the interfaces the service class is assignable to, or to the service
class itself, if it is not assignable to any interface.
public abstract Class<?>[] classes
If this list is empty, the service will be registered for each interface it is assignable to, or for the service class itself, if the service is not assignable to any interface.
Copyright © 2006-2014 OPS4J - Open Participation Software for Java. All Rights Reserved.