-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DllDispatcherManager to interface with DLL's on the classpath
The DLL must have two main functions: getServices(): to retreive a list of possible services that can be registered in the DllDispatchermanager. processMessage(serviceName, correlationId, requestMessage): to call a service in the DLL.
- Loading branch information
Showing
5 changed files
with
321 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import nl.nn.adapterframework.dispatcher.DllDispatcherManagerInterface; | ||
|
||
public class DllDispatcherManager implements DllDispatcherManagerInterface { | ||
|
||
@Override | ||
native public String processRequest(String functionName, String correlationId, String requestMessage); | ||
|
||
@Override | ||
native public String getServices(); | ||
|
||
static { | ||
System.loadLibrary("Wrapper"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.