tonychen0924 commented on issue #766: URL: https://github.com/apache/celix/issues/766#issuecomment-2261856161
I'm sorry, there may be some issues with what I said about my needs I have written an example here: CelixTest/UnitDemo15, link: https://github.com/tonychen0924/CelixTest What I hope is that the same Pou can provide two instances as a server bundle to serve both the plc1 bundle and the plc2 bundle. The class member properties of Pou are independent, but I do share them now. Run result info: -> PouBundle register PouBundle create ppc address:0x7fffd20fd0f0 address:0x7fffd20fd0f0, calc:1 address:0x7fffd20fd0f0, calc:3 address:0x7fffd20fd0f0, calc:6 address:0x7fffd20fd0f0, calc:10 address:0x7fffd20fd0f0, calc:15 address:0x7fffd20fd0f0, calc:21 address:0x7fffd20fd0f0, calc:28 address:0x7fffd20fd0f0, calc:36 address:0x7fffd20fd0f0, calc:45 ppc address:0x7fffd2102800 address:0x7fffd2102800, calc:46 address:0x7fffd2102800, calc:48 address:0x7fffd2102800, calc:51 address:0x7fffd2102800, calc:55 address:0x7fffd2102800, calc:60 address:0x7fffd2102800, calc:66 address:0x7fffd2102800, calc:73 address:0x7fffd2102800, calc:81 address:0x7fffd2102800, calc:90 [2024-07-31T19:43:08] [ info] [celix_framework] [framework_start:481] Celix framework started On the service section of the official website, I saw that it is not supported https://celix.apache.org/docs/2.4.0/celix/documents/services.html Note that the service name is represented in the service properties under the property name objectClass, this is inherited for the Java OSGi specification. Also note that for Celix - in contrast with Java OSGi - it is only possible to register a single interface per service registration in the Apache Celix Framework. This restriction was added because C does not (natively) supports multiple interfaces (struct with function pointers) on a single object/pointer. Also, does the term 'logheler' refer to '~/GitHub/CelixTest/UnitDemo15/build'? Is there a corresponding C++instance ? -- 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