mei_rt2_fix_1
Last change
on this file since d34f7ef was
e3c7769,
checked in by Mei <mei@…>, 12 years ago
|
1) wrap up java interface with swig/jni/abac linkup
2) java regression tests
3) update doc related to new java implmentation
|
-
Property mode set to
100644
|
File size:
467 bytes
|
Line | |
---|
1 | /***** |
---|
2 | tbasic.java |
---|
3 | ***/ |
---|
4 | |
---|
5 | import java.io.*; |
---|
6 | import java.util.*; |
---|
7 | |
---|
8 | import net.deterlab.abac.*; |
---|
9 | |
---|
10 | public class tbasic { |
---|
11 | |
---|
12 | static { |
---|
13 | System.loadLibrary("jABAC"); |
---|
14 | } |
---|
15 | |
---|
16 | public static void main(String[] args) throws IOException { |
---|
17 | System.out.println("called main from tbasic.java"); |
---|
18 | |
---|
19 | Context ctxt=new Context(); |
---|
20 | /* ctxt.dump_yap_db(); */ |
---|
21 | |
---|
22 | ctxt.free_context_now(); |
---|
23 | System.out.println("done called main from tbasic.java"); |
---|
24 | } |
---|
25 | } |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.