Hello John,
The configuration seems to be good...
Does your LocalConfigurationService has a getCurrentConfiguration method ?
if yes then i hope its returning an instance which is of type
com.example.services.configuration.ConfigurationService
Regards,
-Yogesh
--
View this message in context:
Hi Yogesh,
I actually (and accidentally) replied directly to Andy.
Here is the declaration of the bean and the service export in the
provider's blueprint.xml:
class="com.example.services.configuration.local.LocalConfigurationService">
interface="com.example.services.configur
Hello John,
What i am saying is that the problem seems to be with the object returned by
the getCurrentConfiguration method of your LocalConfigurationService.
based on the trace
Caused by: java.lang.ClassCastException:
com.example.services.configuration.local.LocalConfigurationService
cannot
Hi Yogesh,
Thank you for your reply. It seems that you're saying to ignore the
cause that it cannot cast LocalConfigurationService to
ConfigurationService. Is that correct?
Thanks,
John
On 6/11/15 8:54 PM, yogu13 wrote:
Hi,
Looking at the stacktrace... the problem seems to be with the obje
Hi,
Looking at the stacktrace... the problem seems to be with the object
returned by the getCurrentConfiguration method of your
LocalConfigurationService.
Looking at the trace it looks like blueprint did resolved the reference to
your implementation and returned a proxy for it.
would suggest to
John,
Would you be able to post how the service is being declared along with the
service properties to ensure the correct service is being referenced in your
consumer blueprint.
Thanks,
Andy
--
Andrew Block
On June 11, 2015 at 5:28:54 PM, John Dubchak (j...@johndubchak.com) wrote:
Hi,
I