com.genesyslab.openmedia.soa
Interface ScriptService

All Superinterfaces:
IService, java.rmi.Remote

public interface ScriptService
extends IService

The Script service.

Since:
76

Method Summary
 java.lang.Object executeScript(java.lang.String scriptName, java.lang.Object info)
          Execute a script.
 boolean isScriptAvailable(java.lang.String scriptName)
          Is the script available.
 

Method Detail

isScriptAvailable

public boolean isScriptAvailable(java.lang.String scriptName)
                          throws ServiceException,
                                 java.rmi.RemoteException
Is the script available.

Parameters:
scriptName - The script name, under form scriptInstance:scriptItem.
Returns:
true, if the script is available.
Throws:
ServiceException
java.rmi.RemoteException

executeScript

public java.lang.Object executeScript(java.lang.String scriptName,
                                      java.lang.Object info)
                               throws ServiceException,
                                      java.rmi.RemoteException
Execute a script.

Parameters:
scriptName - The script name, under form scriptInstance:scriptItem.
info - The information.
Returns:
The script result.
Throws:
ServiceException
java.rmi.RemoteException