}
if (searchers.size()>0) {
Searcher[] searcherarraytype = new Searcher[searchers.size()];
Searcher[] allsearchers = (searchers.toArray(searcherarraytype));
Searcher searcher = new ParallelMultiSearcher(allsearchers);
RemoteSearchable remoteSearchable = new RemoteSearchable(searcher);
Naming.rebind("mailarchiva",remoteSearchable);
}
} catch (Exception e) {
logger.error("failed to bind remote access searchables",e);
}