Servoy 4.1.x Public API

com.servoy.j2db.plugins
Interface IPluginAccess

All Known Subinterfaces:
IClientPluginAccess, IServerAccess, IWebClientPluginAccess

public interface IPluginAccess

Default plugin api


Method Summary
 Executor getExecutor()
          Get the task executor.
 IPluginManager getPluginManager()
          Get the manager which handles the plugins
 int getReleaseNumber()
          Get the application release number.
 Properties getSettings()
          Get the user properties (when setting something prefix the key with 'plugin.pluginname.').
 ITaskExecuter getThreadPool()
          Deprecated.  
 String getVersion()
          Get the application version.
 void reportError(String msg, Object detail)
          Deprecated.  
 

Method Detail

getVersion

String getVersion()
Get the application version.

Returns:
String the version

getReleaseNumber

int getReleaseNumber()
Get the application release number.

Returns:
int the release number
Since:
3.5.1

getSettings

Properties getSettings()
Get the user properties (when setting something prefix the key with 'plugin.pluginname.').

Returns:
Properties

getExecutor

Executor getExecutor()
Get the task executor.

Returns:
Executor

getPluginManager

IPluginManager getPluginManager()
Get the manager which handles the plugins

Since:
3.5

getThreadPool

@Deprecated
ITaskExecuter getThreadPool()
Deprecated. 


reportError

@Deprecated
void reportError(String msg,
                            Object detail)
Deprecated. 

Report an error.

Parameters:
msg -
detail -
Since:
3.5

Copyright © 2009 Servoy B.V.

>