From 613ee400b9dbde8c365ab4b6de79bfc57454bef8 Mon Sep 17 00:00:00 2001 From: David Caruana Date: Wed, 20 Dec 2006 10:45:54 +0000 Subject: [PATCH] Fix APIService compile issue - SVN madness. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../java/org/alfresco/web/api/APIService.java | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/source/java/org/alfresco/web/api/APIService.java b/source/java/org/alfresco/web/api/APIService.java index 77f0788d18..6d7f967963 100644 --- a/source/java/org/alfresco/web/api/APIService.java +++ b/source/java/org/alfresco/web/api/APIService.java @@ -28,6 +28,20 @@ import javax.servlet.ServletContext; public interface APIService { + /** + * Initialise the Service + * + * @param context + */ + public void init(ServletContext context); + + /** + * Gets the name of this service + * + * @return service name + */ + public String getName(); + /** * Gets the required authentication level for execution of this service * @@ -48,7 +62,7 @@ public interface APIService * @return HTTP uri */ public String getHttpUri(); - + /** * Execute service * @@ -59,7 +73,4 @@ public interface APIService public void execute(APIRequest req, APIResponse res) throws IOException; - public String getName(); - - public void init(ServletContext sc); }