/** Start up the Lister for the connector, if this CM allows feeding. */
private synchronized void startLister() throws InstantiatorException {
if (Context.getInstance().isFeeding()) {
try {
Lister lister = getLister();
if (lister != null) {
LOGGER.fine("Starting Lister for connector " + name);
lister.setDocumentAcceptor(new DocumentAcceptorImpl(
name, pusherFactory));
listerHandle = threadPool.submit(new CancelableLister(name, lister));
}
} catch (ConnectorNotFoundException e) {
throw new InstantiatorException("Connector not found " + name, e);