Fix main entry point for the interpreters

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-09-18 16:01:50 +00:00
parent 1747086061
commit 0d7da3e6e6
4 changed files with 21 additions and 20 deletions

View File

@@ -61,9 +61,12 @@ public class TenantInterpreter extends BaseInterpreter
this.authenticationService = authenticationService;
}
public static BaseInterpreter getConsoleBean(ApplicationContext context)
/**
* Main entry point.
*/
public static void main(String[] args)
{
return (TenantInterpreter)context.getBean("tenantInterpreter");
runMain("tenantInterpreter");
}