On 11/25/2009 03:42 PM, Steve Huston wrote:
On 11/24/2009 08:07 PM, Steve Huston wrote:
A new method was added this week: qpid::Plugin::initOrder()
[snip]
Could you please document this mechanism and how it should be used
somewhere?
I've extended the doc comment, is this clear?
/**
* Initialization order. If a plugin does not override this, it
* returns DEFAULT_INIT_ORDER. Plugins that need to be initialized
* earlier/later than normal can override initOrder to return
* a lower/higher value than DEFAULT_INIT_ORDER.
*/
QPID_COMMON_EXTERN virtual int initOrder() const;
The point is that other people develop related pieces and there was no
discussion, rationale, etc. about it, how it's solving a problem, how
to use it, etc. The only reason I found out about it was the
entrypoint wasn't exported so the Windows build broke.
Point taken and apologies again. Lets have the discussion now and if we come up
with a better solution I'll be happy to implement it. I've opened:
https://issues.apache.org/jira/browse/QPID-2223
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]