Java Doc for ChimeraProperties.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » util » 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 » Workflow Engines » pegasus 2.1.0 » org.griphyn.vdl.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.griphyn.vdl.util.ChimeraProperties

ChimeraProperties
public class ChimeraProperties (Code)
A Central Properties class that keeps track of all the properties used by Chimera. All other classes access the methods in this class to get the value of the property. It access the VDSProperties class to read the property file.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 364 $
See Also:   org.griphyn.common.util.VDSProperties


Field Summary
final public static  StringDAX_SCHEMA_LOCATION
    
final public static  StringDBDRIVER_ALL_PREFIX
    
final public static  StringDB_ALL_PREFIX
    
final public static  StringIVR_SCHEMA_LOCATION
    
final public static  StringVDL_SCHEMA_LOCATION
     Default values for schema locations.


Method Summary
public  StringgetDAXSchemaLocation()
     Gets the location of the DAX XML schema from properties, if available. Please note that the schema location URL in the instance document is only a hint, and may be overriden by the findings of this method. a location pointing to a definition document of the XMLschema that can read DAX.
public  FilegetDataDir()
     Accessor to $PEGASUS_HOME/share.
public  StringgetDatabaseDriverName(String dbDriverPrefix)
     Gets then name of the database driver from the properties. A specific match is preferred over the any match.
Parameters:
  dbDriverPrefix - is the database schema key name in theproperties file, which happens to be the pointer to the classto load.
public  PropertiesgetDatabaseDriverProperties(String dbDriverPrefix)
     Obtains database driver specific properties.
Parameters:
  dbDriverPrefix - is the database driver property key prefixfor which to obtain properties.
public  StringgetDatabaseSchemaName(String dbSchemaPrefix)
     Gets the name of the database schema name from the properties.
Parameters:
  dbSchemaPrefix - is the database schema key name in theproperties file, which happens to be the pointer to the classto load.
public  PropertiesgetDatabaseSchemaProperties(String dbSchemaPrefix)
     Obtains the database schema specific properties.
Parameters:
  dbSchemaPrefix - is the database schema key name in theproperties file a property set to be filled with schema specificproperties.
public  StringgetDatabaseURL(String dbDriverPrefix)
     Gets the Database URL from Properties file, the URL is a contact string to the database.
public  FilegetLocalStateDir()
     Accessor to $PEGASUS_HOME/var.
public  StringgetPTCSchemaLocation()
     Helps the load database to locate the invocation record XML schema, if available.
public  StringgetPTCSchemaName()
     Obtains the fully qualified class name of the PTC-implementing database schema.
public  StringgetRCLocation()
    
public  StringgetReplicaCatalogName(String dbReplicaPrefix)
     Gets the name of the replica catalog implementating class from the properties.
Parameters:
  dbReplicaPrefix - is the replica catalog class name in theproperties file.
public  PropertiesgetReplicaCatalogProperties(String dbReplicaPrefix)
     Obtains all properties to handle the experimental replica catalog interface.
Parameters:
  dbReplicaPrefix - is the prefix for the replica catalog'simplementation configuration.
public  FilegetSysConfDir()
     Accessor to $PEGASUS_HOME/etc.
public  StringgetTCLocation()
    
public  StringgetVDCSchemaName()
     Get the fully qualified class name of the VDC-implementing database schema.
public  StringgetVDLSchemaLocation()
     Gets the location the VDLx XML schema from properties, if available. Please note that the schema location URL in the instance document is only a hint, and may be overriden by the findings of this method. a location pointing to a definition document of the XMLschema that can read VDLx.
public  StringgetVDSHome()
     Accessor: Obtains the root directory of the VDS/Chimera runtime system.
public  StringgetWFSchemaName()
     Obtains the fully qualified class name of the WF-implementing database schema.
public static  ChimeraPropertiesinstance()
     To get a reference to the the object.
public  PropertiesmatchingSubset(String prefix)
     Extracts a specific property key subset from the known properties. The prefix is removed from the keys in the resulting dictionary.
Parameters:
  prefix - is the key prefix to filter the properties by.
public  voidsetupLogging(Logging logger)
    

Field Detail
DAX_SCHEMA_LOCATION
final public static String DAX_SCHEMA_LOCATION(Code)



DBDRIVER_ALL_PREFIX
final public static String DBDRIVER_ALL_PREFIX(Code)



DB_ALL_PREFIX
final public static String DB_ALL_PREFIX(Code)



IVR_SCHEMA_LOCATION
final public static String IVR_SCHEMA_LOCATION(Code)



VDL_SCHEMA_LOCATION
final public static String VDL_SCHEMA_LOCATION(Code)
Default values for schema locations.





Method Detail
getDAXSchemaLocation
public String getDAXSchemaLocation()(Code)
Gets the location of the DAX XML schema from properties, if available. Please note that the schema location URL in the instance document is only a hint, and may be overriden by the findings of this method. a location pointing to a definition document of the XMLschema that can read DAX. Result may be null, if such a documentis unknown or unspecified.
See Also:   org.griphyn.vdl.parser.DAXParser.DAXParser(String)



getDataDir
public File getDataDir()(Code)
Accessor to $PEGASUS_HOME/share. The files in this directory have a low change frequency, are effectively read-only, can be shared via a networked FS, and they are valid for multiple users. the "share" directory of the VDS runtime system.



getDatabaseDriverName
public String getDatabaseDriverName(String dbDriverPrefix)(Code)
Gets then name of the database driver from the properties. A specific match is preferred over the any match.
Parameters:
  dbDriverPrefix - is the database schema key name in theproperties file, which happens to be the pointer to the classto load. the database driver name, result may be null, if suchproperty is not specified.



getDatabaseDriverProperties
public Properties getDatabaseDriverProperties(String dbDriverPrefix)(Code)
Obtains database driver specific properties.
Parameters:
  dbDriverPrefix - is the database driver property key prefixfor which to obtain properties. a property set to be filled with driver specificproperties. May be null if no such properties specified.



getDatabaseSchemaName
public String getDatabaseSchemaName(String dbSchemaPrefix)(Code)
Gets the name of the database schema name from the properties.
Parameters:
  dbSchemaPrefix - is the database schema key name in theproperties file, which happens to be the pointer to the classto load. the database schema name, result may be null, if suchproperty is not specified.



getDatabaseSchemaProperties
public Properties getDatabaseSchemaProperties(String dbSchemaPrefix)(Code)
Obtains the database schema specific properties.
Parameters:
  dbSchemaPrefix - is the database schema key name in theproperties file a property set to be filled with schema specificproperties. May be null if no such properties specified.



getDatabaseURL
public String getDatabaseURL(String dbDriverPrefix)(Code)
Gets the Database URL from Properties file, the URL is a contact string to the database. The URL contact string is removed from the regular properties which are passed to the JDBC driver.
Parameters:
  dbDriverPrefix - is the database schema key name. the database url, result may be null, if thedriver URL is not specified.
See Also:   ChimeraProperties.getDatabaseDriverProperties(String)



getLocalStateDir
public File getLocalStateDir()(Code)
Accessor to $PEGASUS_HOME/var. The files in this directory have a high change frequency, are effectively read-write, they reside on a per-machine basis, and they are valid usually for a single user. the "var" directory of the VDS runtime system.



getPTCSchemaLocation
public String getPTCSchemaLocation()(Code)
Helps the load database to locate the invocation record XML schema, if available. Please note that the schema location URL in the instance document is only a hint, and may be overriden by the findings of this method. a location pointing to a definition document of the XMLschema that can read DAX. Result may be null, if such a documentis unknown or unspecified.
See Also:   org.griphyn.vdl.parser.InvocationParser.InvocationParser(String)



getPTCSchemaName
public String getPTCSchemaName()(Code)
Obtains the fully qualified class name of the PTC-implementing database schema. the fully-qualified name of the class which implementsthe PTC according to properties, or null, if nosuch class exists.



getRCLocation
public String getRCLocation()(Code)
Get the rc.data file location, which is used by shell planner



getReplicaCatalogName
public String getReplicaCatalogName(String dbReplicaPrefix)(Code)
Gets the name of the replica catalog implementating class from the properties.
Parameters:
  dbReplicaPrefix - is the replica catalog class name in theproperties file. the replica catalog implementing class name, result may benull, if such property is not specified.



getReplicaCatalogProperties
public Properties getReplicaCatalogProperties(String dbReplicaPrefix)(Code)
Obtains all properties to handle the experimental replica catalog interface.
Parameters:
  dbReplicaPrefix - is the prefix for the replica catalog'simplementation configuration. all properties, excluding the prefix itself, for the RC.



getSysConfDir
public File getSysConfDir()(Code)
Accessor to $PEGASUS_HOME/etc. The files in this directory have a low change frequency, are effectively read-only, they reside on a per-machine basis, and they are valid usually for a single user. the "etc" directory of the VDS runtime system.



getTCLocation
public String getTCLocation()(Code)
Get the tc.data file location, which is used by shell planner



getVDCSchemaName
public String getVDCSchemaName()(Code)
Get the fully qualified class name of the VDC-implementing database schema. If no properties are configured, it returns the file-based VDC-schema implementation. the fully-qualified name of the class which implementsthe VDC according to properties.
See Also:   org.griphyn.vdl.dbschema.SingleFileSchema



getVDLSchemaLocation
public String getVDLSchemaLocation()(Code)
Gets the location the VDLx XML schema from properties, if available. Please note that the schema location URL in the instance document is only a hint, and may be overriden by the findings of this method. a location pointing to a definition document of the XMLschema that can read VDLx. Result may be null, if such a documentis unknown or unspecified.
See Also:   org.griphyn.vdl.parser.VDLxParser.VDLxParser(String)



getVDSHome
public String getVDSHome()(Code)
Accessor: Obtains the root directory of the VDS/Chimera runtime system. the root directory of the VDS runtime system, as initiallyset from the system properties.



getWFSchemaName
public String getWFSchemaName()(Code)
Obtains the fully qualified class name of the WF-implementing database schema. the fully-qualified name of the class which implements theWF according to properties, or null, if no such classexists.



instance
public static ChimeraProperties instance() throws IOException, MissingResourceException(Code)
To get a reference to the the object.



matchingSubset
public Properties matchingSubset(String prefix)(Code)
Extracts a specific property key subset from the known properties. The prefix is removed from the keys in the resulting dictionary.
Parameters:
  prefix - is the key prefix to filter the properties by. a property dictionary matching the filter key. May bean empty dictionary, if no prefix matches were found.



setupLogging
public void setupLogging(Logging logger)(Code)
Set up logging



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.