Source Code Cross Referenced for JLisa.java in  » Rule-Engine » JLisa » org » jlisa » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Rule Engine » JLisa » org.jlisa 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Created on Oct 27, 2003
003:         *
004:         * To change the template for this generated file go to
005:         * Window>Preferences>Java>Code Generation>Code and Comments
006:         */
007:        package org.jlisa;
008:
009:        import java.io.InputStream;
010:        import java.io.PrintStream;
011:        import java.util.List;
012:
013:        import javax.rules.Handle;
014:        import javax.rules.InvalidHandleException;
015:        import javax.rules.InvalidRuleSessionException;
016:        import javax.rules.ObjectFilter;
017:        import javax.rules.RuleExecutionSetMetadata;
018:        import javax.rules.StatefulRuleSession;
019:
020:        import org.armedbear.lisp.ConditionThrowable;
021:        import org.armedbear.lisp.Interpreter;
022:
023:        /**
024:         * @author beedlem
025:         *
026:         * To change the template for this generated type comment go to
027:         * Window>Preferences>Java>Code Generation>Code and Comments
028:         */
029:        public class JLisa implements  StatefulRuleSession {
030:
031:            private static InputStream in = System.in;
032:            private static PrintStream out = System.out;
033:            private static PrintStream err = System.err;
034:
035:            /**
036:             *    NOT IN JSR!!!!
037:             */
038:            void run() {
039:                _instance.run();
040:            }
041:
042:            Interpreter _instance = Interpreter.createInstance(in, out,
043:                    "/eclipse/workspace/JLisa/src/org/jlisa");
044:
045:            /**
046:             * 
047:             */
048:            public JLisa() {
049:                super ();
050:                // TODO Auto-generated constructor stub
051:            }
052:
053:            /* (non-Javadoc)
054:             * @see javax.rules.StatefulRuleSession#containsObject(javax.rules.Handle)
055:             */
056:            public boolean containsObject(Handle arg0)
057:                    throws InvalidRuleSessionException, InvalidHandleException {
058:                // TODO Auto-generated method stub
059:                return false;
060:            }
061:
062:            /* (non-Javadoc)
063:             * @see javax.rules.StatefulRuleSession#addObject(java.lang.Object)
064:             */
065:            public Handle addObject(Object arg0)
066:                    throws InvalidRuleSessionException {
067:                // TODO Auto-generated method stub
068:                return null;
069:            }
070:
071:            /* (non-Javadoc)
072:             * @see javax.rules.StatefulRuleSession#addObjects(java.util.List)
073:             */
074:            public List addObjects(List arg0)
075:                    throws InvalidRuleSessionException {
076:                // TODO Auto-generated method stub
077:                return null;
078:            }
079:
080:            /* (non-Javadoc)
081:             * @see javax.rules.StatefulRuleSession#updateObject(javax.rules.Handle, java.lang.Object)
082:             */
083:            public void updateObject(Handle arg0, Object arg1)
084:                    throws InvalidRuleSessionException, InvalidHandleException {
085:                // TODO Auto-generated method stub
086:
087:            }
088:
089:            /* (non-Javadoc)
090:             * @see javax.rules.StatefulRuleSession#removeObject(javax.rules.Handle)
091:             */
092:            public void removeObject(Handle arg0)
093:                    throws InvalidHandleException, InvalidRuleSessionException {
094:                // TODO Auto-generated method stub
095:
096:            }
097:
098:            /* (non-Javadoc)
099:             * @see javax.rules.StatefulRuleSession#getObjects()
100:             */
101:            public List getObjects() throws InvalidRuleSessionException {
102:                // TODO Auto-generated method stub
103:                return null;
104:            }
105:
106:            /* (non-Javadoc)
107:             * @see javax.rules.StatefulRuleSession#getObjects(javax.rules.ObjectFilter)
108:             */
109:            public List getObjects(ObjectFilter arg0)
110:                    throws InvalidRuleSessionException {
111:                // TODO Auto-generated method stub
112:                return null;
113:            }
114:
115:            /* (non-Javadoc)
116:             * @see javax.rules.StatefulRuleSession#executeRules()
117:             */
118:            public void executeRules() throws InvalidRuleSessionException {
119:                try {
120:                    // TODO Auto-generated method stub
121:                    _instance.evaluate("(load \"load-lisa.lisp\")");
122:                } catch (ConditionThrowable e) {
123:                    // TODO Auto-generated catch block
124:                    e.printStackTrace();
125:                }
126:
127:            }
128:
129:            /* (non-Javadoc)
130:             * @see javax.rules.StatefulRuleSession#reset()
131:             */
132:            public void reset() throws InvalidRuleSessionException {
133:                // TODO Auto-generated method stub
134:
135:            }
136:
137:            /* (non-Javadoc)
138:             * @see javax.rules.StatefulRuleSession#getObject(javax.rules.Handle)
139:             */
140:            public Object getObject(Handle arg0) throws InvalidHandleException,
141:                    InvalidRuleSessionException {
142:                // TODO Auto-generated method stub
143:                return null;
144:            }
145:
146:            /* (non-Javadoc)
147:             * @see javax.rules.RuleSession#getRuleExecutionSetMetadata()
148:             */
149:            public RuleExecutionSetMetadata getRuleExecutionSetMetadata()
150:                    throws InvalidRuleSessionException {
151:                // TODO Auto-generated method stub
152:                return null;
153:            }
154:
155:            /* (non-Javadoc)
156:             * @see javax.rules.RuleSession#release()
157:             */
158:            public void release() throws InvalidRuleSessionException {
159:                // TODO Auto-generated method stub
160:
161:            }
162:
163:            /* (non-Javadoc)
164:             * @see javax.rules.RuleSession#getType()
165:             */
166:            public int getType() throws InvalidRuleSessionException {
167:                // TODO Auto-generated method stub
168:                return 0;
169:            }
170:
171:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.