CopletAdapter copletAdapter = null;
ServiceSelector adapterSelector = null;
try {
adapterSelector = (ServiceSelector) this.manager.lookup(CopletAdapter.ROLE + "Selector");
copletAdapter = (CopletAdapter) adapterSelector.select(adapterName);
copletAdapter.toSAX(cid, new IncludeXMLConsumer(handler));
} catch (ServiceException ce) {
throw new SAXException("Unable to lookup component.", ce);
} finally {
if (null != copletAdapter) {
adapterSelector.release(copletAdapter);