public class ServiceProviderDiscovery extends Object
BeanManager which are annotated with
ServiceProvider.| Constructor and Description |
|---|
ServiceProviderDiscovery(javax.enterprise.inject.spi.BeanManager beanManager) |
| Modifier and Type | Method and Description |
|---|---|
Set<javax.enterprise.inject.spi.Bean<?>> |
findServiceProviderBeans() |
Class<?> |
getProviderInterfaceFor(Class<?> businessInterface)
Use this method to get the joynr provider interface for the given business interface.
|
@Inject public ServiceProviderDiscovery(javax.enterprise.inject.spi.BeanManager beanManager)
public Set<javax.enterprise.inject.spi.Bean<?>> findServiceProviderBeans()
public Class<?> getProviderInterfaceFor(Class<?> businessInterface)
ProvidedBy annotation
is attached in the class hierarchy of the business interface. With this annotation, the provider is found by
the ServiceProviderDiscovery.businessInterface - the business interface for which we want to find the joynr provider interface.Copyright © 2019. All rights reserved.