dnrajugade / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

EventBus should be split into interface and implementation #1170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Exposing EventBus in OSGi service using Karaf 2.3.0 / Aries Blueprint 1.0.1 
throws this error:

org.osgi.service.blueprint.container.ComponentDefinitionException: A class 
com.google.common.eventbus.EventBus was found in the interfaces list, but class 
proxying is not allowed by default. The ext:proxy-method='classes' attribute 
needs to be added to this service reference.

A workaround is mentioned in the exception message, however as EventBus is a 
service, it should be made an interface, while the implementation named 
EventBusImpl or DefaultEventBus or similar.

Original issue reported on code.google.com by ceefour666@gmail.com on 16 Oct 2012 at 10:44

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 17 Oct 2012 at 2:16

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:13

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08