org.sakaiproject.entitybroker.util.external
Class ExternalIntegrationProviderMock
java.lang.Object
org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- All Implemented Interfaces:
- ExternalIntegrationProvider
public class ExternalIntegrationProviderMock
- extends Object
- implements ExternalIntegrationProvider
A mock which provides a placeholder class to handle external integration
- Author:
- Aaron Zeckoski (azeckoski @ gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalIntegrationProviderMock
public ExternalIntegrationProviderMock()
fetchEntity
public Object fetchEntity(String reference)
- Specified by:
fetchEntity in interface ExternalIntegrationProvider
fireEvent
public void fireEvent(String eventName,
String reference)
- Specified by:
fireEvent in interface ExternalIntegrationProvider
getServerUrl
public String getServerUrl()
- Specified by:
getServerUrl in interface ExternalIntegrationProvider
getMaxJSONLevel
public String getMaxJSONLevel()
- Specified by:
getMaxJSONLevel in interface ExternalIntegrationProvider
handleEntityError
public String handleEntityError(javax.servlet.http.HttpServletRequest req,
Throwable error)
- Specified by:
handleEntityError in interface ExternalIntegrationProvider
handleUserSessionKey
public void handleUserSessionKey(javax.servlet.http.HttpServletRequest req)
- Specified by:
handleUserSessionKey in interface ExternalIntegrationProvider
findService
public <T> T findService(Class<T> type)
- Specified by:
findService in interface ExternalIntegrationProvider
getConfigurationSetting
public <T> T getConfigurationSetting(String settingName,
T defaultValue)
- Specified by:
getConfigurationSetting in interface ExternalIntegrationProvider
Copyright © 2007-2013 CARET, University of Cambridge. All Rights Reserved.