ks.server.interfaces
Interface IServerPluginManager

All Superinterfaces:
IPluginStatistics, IProcessCommand

public interface IServerPluginManager
extends IProcessCommand, IPluginStatistics

Define the interface between the Server and the Plugin Manager.

Note: Your class that implements this interface must have a constructor with no parameters.


Field Summary
static java.lang.String activeDirectory
          Constant that refers to Configuration variable for location of active Directory.
static java.lang.String defaultActiveDirectory
          Constants that refers to default location of Active Directory.
static java.lang.String defaultInactiveDirectory
          Constants that refers to default location of inactive Directory.
static java.lang.String downloadPluginResponse
          downloadplugin response (since v1.7.3).
static java.lang.String inactiveDirectory
          Constant that refers to Configuration variable for location of inactive Directory.
static java.lang.String installResponse
          install response (since v1.7.3).
static java.lang.String listActiveResponse
          refreshactivelist response (since v1.7.3).
static java.lang.String listInactiveResponse
          refreshinactivelist response (since v1.7.3).
static java.lang.String propertiesResponse
          properties response (since v1.7.3).
static java.lang.String removeResponse
          remove response (since v1.7.3).
 
Method Summary
 java.lang.String getKey(java.lang.String dir, java.lang.String fileName)
          Return the certificate key calculated for the given Plugin.
 void sendActiveTypes(java.lang.String who)
          Send to the given user the set of active Plugin Types.
 
Methods inherited from interface ks.server.interfaces.IProcessCommand
process
 
Methods inherited from interface ks.server.interfaces.IPluginStatistics
updateStats
 

Field Detail

inactiveDirectory

public static final java.lang.String inactiveDirectory
Constant that refers to Configuration variable for location of inactive Directory.

See Also:
Constant Field Values

defaultInactiveDirectory

public static final java.lang.String defaultInactiveDirectory
Constants that refers to default location of inactive Directory.

See Also:
Constant Field Values

activeDirectory

public static final java.lang.String activeDirectory
Constant that refers to Configuration variable for location of active Directory.

See Also:
Constant Field Values

defaultActiveDirectory

public static final java.lang.String defaultActiveDirectory
Constants that refers to default location of Active Directory.

See Also:
Constant Field Values

listActiveResponse

public static final java.lang.String listActiveResponse
refreshactivelist response (since v1.7.3).

See Also:
Constant Field Values

listInactiveResponse

public static final java.lang.String listInactiveResponse
refreshinactivelist response (since v1.7.3).

See Also:
Constant Field Values

downloadPluginResponse

public static final java.lang.String downloadPluginResponse
downloadplugin response (since v1.7.3).

See Also:
Constant Field Values

propertiesResponse

public static final java.lang.String propertiesResponse
properties response (since v1.7.3).

See Also:
Constant Field Values

installResponse

public static final java.lang.String installResponse
install response (since v1.7.3).

See Also:
Constant Field Values

removeResponse

public static final java.lang.String removeResponse
remove response (since v1.7.3).

See Also:
Constant Field Values
Method Detail

sendActiveTypes

public void sendActiveTypes(java.lang.String who)
Send to the given user the set of active Plugin Types.

Parameters:
who -

getKey

public java.lang.String getKey(java.lang.String dir,
                               java.lang.String fileName)
Return the certificate key calculated for the given Plugin. Used internally.

Parameters:
dir - Directory where Jar file exists.
fileName - Filename of Plugin within that directory.
Returns:
String or null on error.