- All Implemented Interfaces:
- org.osgi.service.blueprint.container.Converter
public class RoutedRpcRegistrationConverter
extends Object
implements org.osgi.service.blueprint.container.Converter
Implements a Converter that converts RoutedRpcRegistration instances. This is to work around an issue
when injecting a RoutedRpcRegistration instance into a bean where Aries is not able to convert the instance
returned from the RpcRegistryProvider to the desired generic RoutedRpcRegistration type specified in the
bean's setter method. This is because the actual instance class specifies a generic type variable T and,
even though it extends RpcService and should match, Aries doesn't handle it correctly.
- Author:
- Thomas Pantelis