pnoltes commented on code in PR #421: URL: https://github.com/apache/celix/pull/421#discussion_r906766771
########## documents/patterns.md: ########## @@ -19,16 +19,121 @@ See the License for the specific language governing permissions and limitations under the License. --> -# OSGi pattern in Apache Celix +# Apache Celix / OSGi patterns +There are several design patterns used in Apache Celix and OSGi. + +## Whiteboard Pattern +The whiteboard pattern is a pattern where the act of registering a service is enough to participate in or extend +an existing functionality. +A typical aspect of the whiteboard pattern is that an application should +still resolve and startup even if the bundle or bundles that pick up the whiteboard pattern services are absent. Review Comment: From the whiteboard perspective they are indeed optional dependencies. But this part of the documentation aims to explain that if you provide a whiteboard service, it will not automatically be picked up. You also need to start the whiteboard service for something to happen. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org