Hi,
I would like to know if <Private-Package></Private-Package> is the good
syntax to be used to avoid that the classes implementing by example DAO are
not available from another bundle BUT are copied in the JAR file of my
bundle ?
e.g. example of a pom DAO bundle
<Private-Package>
org.apache.camel.example.reportincident.dao.impl
</Private-Package>
<Export-Package>
org.apache.camel.example.reportincident.dao
</Export-Package>
The interface org.apache.camel.example.reportincident.dao must be exported
because it will be used by another bundle using osgi:service/osgi:reference.
The classes implementing the DAO will be used internally by the bundle.
Regards,
-----
Charles Moulliard
SOA Architect
My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
--
View this message in context:
http://www.nabble.com/Question-about-OSGi-%3CPrivate-Package%3E-tp22618549p22618549.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.