org.alfresco.tools
Class Repository

java.lang.Object
  extended by org.alfresco.tools.Tool
      extended by org.alfresco.tools.Repository
Direct Known Subclasses:
ContentStoreCleanerScalabilityRunner

public class Repository
extends Tool

Initializes the full application context and then waits for a keypress to exit.


Constructor Summary
Repository()
           
 
Method Summary
protected  void displayHelp()
          Display Tool Help
protected  int execute()
          Perform Tool Behaviour
protected  java.lang.String getToolName()
          Get the tool name
static void main(java.lang.String[] args)
          Start the repository and wait for a keypress to stop
protected  org.alfresco.tools.ToolContext processArgs(java.lang.String[] args)
          Process Tool Arguments
 
Methods inherited from class org.alfresco.tools.Tool
exit, getApplicationContext, getServiceRegistry, handleError, logError, logInfo, logVerbose, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository()
Method Detail

getToolName

protected java.lang.String getToolName()
Description copied from class: Tool
Get the tool name

Specified by:
getToolName in class Tool
Returns:
the tool name

processArgs

protected org.alfresco.tools.ToolContext processArgs(java.lang.String[] args)
                                              throws ToolException
Description copied from class: Tool
Process Tool Arguments

Overrides:
processArgs in class Tool
Parameters:
args - the arguments
Returns:
the tool context
Throws:
ToolException

displayHelp

protected void displayHelp()
Description copied from class: Tool
Display Tool Help

Overrides:
displayHelp in class Tool

execute

protected int execute()
               throws ToolException
Description copied from class: Tool
Perform Tool Behaviour

Specified by:
execute in class Tool
Throws:
ToolException

main

public static void main(java.lang.String[] args)
Start the repository and wait for a keypress to stop

Parameters:
args - not used


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.