SharedConnector sharedConnector = getSharedConnector(apiKeyId, viewerId);
if (sharedConnector!=null) {
final SharedConnectorFilter sharedConnectorFilter;
try {
sharedConnectorFilter = beanFactory.getBean(connector.sharedConnectorFilterClass());
return sharedConnectorFilter.filterFacets(sharedConnector, facets);
}
catch (Exception e) {
e.printStackTrace();
}
}