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
This commit is contained in:
David Caruana
2006-12-20 10:45:54 +00:00
parent 820621b8f0
commit 613ee400b9

View File

@@ -28,6 +28,20 @@ import javax.servlet.ServletContext;
public interface APIService 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 * Gets the required authentication level for execution of this service
* *
@@ -48,7 +62,7 @@ public interface APIService
* @return HTTP uri * @return HTTP uri
*/ */
public String getHttpUri(); public String getHttpUri();
/** /**
* Execute service * Execute service
* *
@@ -59,7 +73,4 @@ public interface APIService
public void execute(APIRequest req, APIResponse res) public void execute(APIRequest req, APIResponse res)
throws IOException; throws IOException;
public String getName();
public void init(ServletContext sc);
} }