use of org.codice.alliance.nsili.mockserver.impl.requests.HitCountRequestImpl in project alliance by codice.
the class CatalogMgrImpl method hit_count.
@Override
public HitCountRequest hit_count(Query aQuery, NameValue[] properties) throws ProcessingFault, InvalidInputParameter, SystemFault {
HitCountRequestImpl hitCountRequest = new HitCountRequestImpl();
try {
poa_.activate_object_with_id("hit_count".getBytes(Charset.forName(ENCODING)), hitCountRequest);
} catch (ServantAlreadyActive | ObjectAlreadyActive | WrongPolicy e) {
LOGGER.warn("hit_count : Unable to activate hitCountRequest object.", e);
}
org.omg.CORBA.Object obj = poa_.create_reference_with_id("hit_count".getBytes(Charset.forName(ENCODING)), HitCountRequestHelper.id());
HitCountRequest queryRequest = HitCountRequestHelper.narrow(obj);
return queryRequest;
}
Aggregations