User login
|
|
|
Frontpage Sponsor
|
|
|
Baanboard at LinkedIn
|

|
Poll
|
What actions do you take to ensure compliance with the sanction/embargo lists published by the EU and the US? don't know what you are talking about 55% we are scanning customers, suppliers and employees using own programs on a regular basis 12% each delivery/purchase adress is checked immediately with own programs 2% we are using third party software for this purpose 10% we simply don't bother 20% Total votes: 49 |
|
|
|
java.execute.static.method.sync
|
|
By patvdv at 26 Feb 2008 - 21:57
|
|
java.execute.static.method.sync
Syntax
long java.execute.static.method.sync(string class.name, string method.name, [... ])
long java.execute.static.method.async(string class.name, string method.name, [... ]))
Description
Executes a Java static method, with no return type, within the JavaVM. java.execute.static.method.sync() returns to the caller AFTER completion of the Java method. Java.execute.static.method.async() returns to the caller BEFORE completion of the Java method.
Arguments
|
class.name
|
name of the Java class to call (e.g.: com.baan.baanvm.Test)
|
|
method.name
|
name of the static Java method in that class to call (e.g.: runMe). ...: optional parameters for that method. All BaanC types at this time (string, long, double) are supported.
|
Return codes
| Success |
JavaVM not supported on this platform; or
|
| unable to locate Java class and method at the Java side |
| JavaVM integration not available (not supported on this OS) |
| JavaVM integration not available (Java VM not properly configured) |
| invalid method argument |
Example
long retval long longArg string stringArg(30)
| fill longArg and stringArg….
retval = java.execute.static.method.async("com.baan.baanvm.Test", "runMe", longArg, stringArg)
Related topics
|
|
All times are GMT +2. The time now is 00:41.