Source Code Cross Referenced for IndexConfig.java in  » Search-Engine » Jofti » com » jofti » config » 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 » Search Engine » Jofti » com.jofti.config 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Created on 08-Apr-2005
03:         *
04:         */
05:        package com.jofti.config;
06:
07:        import java.util.List;
08:        import java.util.Map;
09:        import java.util.Properties;
10:
11:        /**
12:         * 
13:         *
14:         * Configuration interface for Jofti. The config object supplies the index to be created, 
15:         * the properties for the index and the classes to index. The class also provides for 
16:         * pass through configuration for the IndexCache Implmenetation as each IndexCache requires its config file 
17:         * in a different format.<p>
18:         * 
19:         * This interface is used in the programmatic addition of a cache to Jofti.
20:         * 
21:         * @author Steve Woodcock (steve@jofti.com)<p>
22:         * @version 1.0
23:         */
24:        public interface IndexConfig {
25:
26:            /**
27:             * The name of the cache to be added.
28:             * 
29:             * @return name of IndexCache
30:             */
31:            public String getName();
32:
33:            /**
34:             * The cacheAdapter implementation to use.<p>
35:             * @return String representation for the adapter
36:             */
37:            public String getCacheAdapter();
38:
39:            /**
40:             * Returns a Map of the index mappings. Format is String class name as akey to a List of 
41:             * String filed names as defined in the config XMl examples. See user guide for examples.<p>
42:             * @return map of indexed classes.
43:             */
44:            public Map getIndexMappings();
45:
46:            /**
47:             * Returns a Map of the query mappings. Format is String class name as a key to a query. See user guide for examples.<p>
48:             * @return map of indexed classes.
49:             */
50:            public Map getQueryMappings();
51:
52:            /**
53:             * Adds a mapping entry to the IndexCache Mapping Map. The format is 
54:             * key as String classname
55:             * @param clazz
56:             * @param propertyList
57:             */
58:            public void addMapping(String clazz, List propertyList);
59:
60:            /**
61:             * Adds a mapping entry to the IndexCache Mapping Map. The format is 
62:             * key as String classname
63:             * @param clazz
64:             * @param propertyList
65:             */
66:            public void addQuery(String name, String query);
67:
68:            /**
69:             * Returns the IndexCache type to use.
70:             * @return the index type.
71:             */
72:            public String getIndexType();
73:
74:            public boolean isLazyLoaded();
75:
76:            /**
77:             * returns any properties for the adapter.
78:             * @return A property object
79:             */
80:            public Properties getAdapterProperties();
81:
82:            /**
83:             * returns the object introspector type.
84:             * @return the introspector class name
85:             */
86:            public String getParserType();
87:
88:            public Properties getIndexProperties();
89:
90:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.