return ret;
}
private DominoOAuth2Store getOAuth2Store(String container) throws GadgetException {
final String method = "getOAuth2Store";
ContainerExtPoint extPoint = manager.getExtPoint(container);
if(extPoint != null) {
try {
return extPoint.getContainerOAuth2Store();
} catch (ContainerExtPointException e) {
log.logp(Level.WARNING, CLASS, method, "There was an error getting the OAuth2Store for container " + container, e);
throw new GadgetException(GadgetException.Code.OAUTH_STORAGE_ERROR,
"There was an error getting the OAuth2Store for container " + container, e);
}