In the Eclipse manifest editor, there exist check boxes for enabling/disabling plug-in activation and singleton behavior, as shown below:
[ ] Activate this plug-in when one of its classes is loaded
[ ] This plug-in is a singleton
Questions:
- When would the activation check box NOT be checked?
- If wrapping a third-party library, should this plug-in "usually" be configured as a singleton?
I'm searching for information or some examples that would demonstrate when activation of the plugin would not be desired (i.e., intentional non-activation). The singleton behavior is clearer (in my opinion) to see when it would be appropriate (e.g., a logger).
Much thanks!
Michael