manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Sun, 24 Oct 2010 04:49:00 GMT
Space: Apache Connectors Framework (
Page: How to Write an Output Connector (

Comment added by Farzad:

And if something is linked across threads, the cache manager is needed to retrieve the objects
to operate on when needed, since I don't have I one, I get an error.

When is the book coming out?

In reply to a comment by Karl Wright:
I'd suggest looking very carefully at how you maintain your manager table reference from the
main connector class.  If you look at WebConnector, you will note that it goes out
of its way to avoid keeping around any IThreadContext object, or anything that was "made"
using it, beyond the scope of the setThreadContext(something)/setThreadContext(null) interval. 
If you do wind up inadvertantly persisting something, you've effectively linked it across
threads, which will cause obviously unpredictable results.\\

Change your notification preferences:

View raw message