public interface ProviderQosFactory
ProviderQos instance used to register
services.
You can provide multiple beans implementing this interface. The first one which returns true to
providesFor(Class) for a given service interface will be used to obtain a ProviderQos instance via
create() in order to perform the service registration. There is no guarantee in which order the factories
will be asked, so it's safer to just provide one factory for a given service interface type.
If no factory is found to provide the QoS information, then the default values are used.
| Modifier and Type | Method and Description |
|---|---|
joynr.types.ProviderQos |
create()
This method is called in order to obtain a custom
ProviderQos instance for registering the service with. |
boolean |
providesFor(Class<?> serviceInterface)
This method is queried on each bean which implements this interface in order to see if it can
provide an instance of ProviderQos for a given service interface. |
joynr.types.ProviderQos create()
ProviderQos instance for registering the service with.boolean providesFor(Class<?> serviceInterface)
provide an instance of ProviderQos for a given service interface.serviceInterface - the service interface for which a provider QoS instance is required for registration.Copyright © 2019. All rights reserved.