summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/java/uscxml.i
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-15 20:17:24 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-15 20:17:24 (GMT)
commit0f02e83609309972f01fb72392fb7f96d98b9e01 (patch)
tree4fbf1ca145af597f5212cef158fded22446819d4 /src/bindings/swig/java/uscxml.i
parent445751d34fae13c231fae3db10cbac6468f003d8 (diff)
downloaduscxml-0f02e83609309972f01fb72392fb7f96d98b9e01.zip
uscxml-0f02e83609309972f01fb72392fb7f96d98b9e01.tar.gz
uscxml-0f02e83609309972f01fb72392fb7f96d98b9e01.tar.bz2
More fixes for language bindings
Diffstat (limited to 'src/bindings/swig/java/uscxml.i')
-rw-r--r--src/bindings/swig/java/uscxml.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bindings/swig/java/uscxml.i b/src/bindings/swig/java/uscxml.i
index 654ea91..688ca6e 100644
--- a/src/bindings/swig/java/uscxml.i
+++ b/src/bindings/swig/java/uscxml.i
@@ -55,6 +55,8 @@ typedef uscxml::ExecutableContentImpl ExecutableContentImpl;
#include "../../../uscxml/Factory.h"
#include "../../../uscxml/Interpreter.h"
#include "../../../uscxml/concurrency/BlockingQueue.h"
+#include "../../../uscxml/server/HTTPServer.h"
+#include "../../../uscxml/debug/DebuggerServlet.h"
#include "../wrapped/WrappedInvoker.h"
#include "../wrapped/WrappedDataModel.h"
@@ -210,9 +212,14 @@ import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.LinkedList;
+import java.net.URL;
%}
%typemap(javacode) uscxml::Interpreter %{
+ public static Interpreter fromURI(URL uri) throws org.uscxml.InterpreterException {
+ return Interpreter.fromURI(uri.toString());
+ }
+
public Map<String, NativeIOProcessor> getIOProcessors() {
Map<String, NativeIOProcessor> ioProcs = new HashMap<String, NativeIOProcessor>();
StringVector keys = getIOProcessorKeys();
@@ -384,6 +391,8 @@ import java.util.LinkedList;
%include "../../../uscxml/Message.h"
%include "../../../uscxml/Interpreter.h"
%include "../../../uscxml/concurrency/BlockingQueue.h"
+%include "../../../uscxml/server/HTTPServer.h"
+%include "../../../uscxml/debug/DebuggerServlet.h"
%include "../../../uscxml/messages/Blob.h"
%include "../../../uscxml/messages/Data.h"