scone.proxy
Class ServerSide

java.lang.Object
  extended by scone.Plugin
      extended by scone.proxy.ServerSide

public class ServerSide
extends Plugin

This plugin enables the proxy to run as a web server


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class scone.Plugin
ACCESSTRACKING, ACCESSTRACKING2, ADDPREAMBLE, CALCFINGERPRINT, CONSIDERINCLUSIONS, CONSIDERKEYWORDS, CONSIDERLINKS, DECENT_HOST_CONDITION, HTDOCCONDITION, NO_HTDOCCONDITION, NOCACHE, NOREQUIREMENTS, PAGETIMEOUT, PARSEDOCUMENT, POSTDATA, RAS, RESOURCEGENERATOR, SAVEBODYTEXT, SAVESOURCECODE, USEPARSINGMEG
 
Constructor Summary
ServerSide()
           
 
Method Summary
 int getRequirements()
          Define the requirements of this plugin by implementing this method.
 void init()
          setup the plugin
 
Methods inherited from class scone.Plugin
addMeg, disable, displayConfigGUI, displayConfigGUI, enable, getProperties, getRasPort, init, saveProperties, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ServerSide

public ServerSide()
Method Detail

getRequirements

public int getRequirements()
Description copied from class: Plugin
Define the requirements of this plugin by implementing this method.
A plugin has to specify its requirements which can be as follows:
NOREQUIREMENTS use this keyword if your plugin does not require any feature.
PARSEDOCUMENT if required, the HtmlDocument objects will be created and filled.
ACCESSTRACKING if required, scone's usertracking feature is used
CONSIDERLINKS if required, Link Objects will be created and filled and LinkToken objects will be created
CONSIDERINCLUSIONS if required, INCLUSION objects will be created and filled.
CONSIDERKEYWORDS if required, Keyword objects will be created and filled. This feature will automatically require PARSEDOCUMENT.
ADDPREAMBLE causes the AddPreambleEditor to be added to the proxy.
RESOURCEGENERATOR causes the GeneralResourceGenerator to be added to the proxy
RAS The Remote Access Server is started.

These requirements have to be combined by the | operator: PARSEDOCUMENT | CONSIDERLINKS will cause scone to create HtmlDocument objects, Link objects and LinkToken objects.

If a feature is not required by any of the registered plugins, scone will not support it at runtime.

Specified by:
getRequirements in class Plugin
Returns:
the requirements

init

public void init()
setup the plugin

Specified by:
init in class Plugin