Can I call getComponent and releaseComponent multiple times? How would the calls be handled?
The ACS Manager keeps one single reference per each client/component. Therefore calling As a consequence one call to If the client's code has to be such that multiple calls to getComponent/releaseComponent can take place and we want to avoid releasing the component unexpectedly, then the developer should implement the singleton pattern for the reference and hide getComponent/releaseComponent inside that. Wh have discussed the possibility of implementing support classes in ACS to access components in this way and we have it in our "remaining list", but we have not implemented them yet. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|