mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
31 lines
647 B
Java
31 lines
647 B
Java
package org.alfresco.web.api;
|
|
|
|
import java.util.Collection;
|
|
|
|
import javax.servlet.ServletContext;
|
|
|
|
public interface APIRegistry
|
|
{
|
|
|
|
public ServletContext getContext();
|
|
|
|
/**
|
|
* Gets an API Service given an HTTP Method and URI
|
|
*
|
|
* @param method
|
|
* @param uri
|
|
* @return
|
|
*/
|
|
public APIServiceMatch findService(String method, String uri);
|
|
|
|
public APIService getService(String id);
|
|
|
|
public Collection<APIService> getServices();
|
|
|
|
public FormatRegistry getFormatRegistry();
|
|
|
|
public APITemplateProcessor getTemplateProcessor();
|
|
|
|
//public APIScriptProcessor getScriptProcessor();
|
|
}
|