hypercast.util
Class ExtractConfigurationDefaults
java.lang.Object
|
+--hypercast.util.ExtractConfigurationDefaults
- public class ExtractConfigurationDefaults
- extends java.lang.Object
Dynamically generates a Java source file which contains the default
values of all properties used in the specified schema file.
This class implements a thin appliction that relies mainly on
SchemaDefaultValueCalculator. The application is used during build
time to extract constant values from the HyperCast schema
object. These values are then written to a dynamically generated
Java source file (this file is not found in any source library
(e.g. CVS) nor should it ever be edited except by changing this
class and running the thin application).
By extracting information about constants from the schema file
there is a single source of information about constants. This class
was implemented in an effort to unify unsynchronized constant
information: one version of constant information was kept in the
schema, the other was kept in the body of the code.
- See Also:
SchemaDefaultValueCalculator
Method Summary |
static void |
main(java.lang.String[] args)
See HyperCast Makefile for usage example. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtractConfigurationDefaults
public ExtractConfigurationDefaults()
main
public static void main(java.lang.String[] args)
throws java.net.MalformedURLException,
java.io.IOException,
java.io.FileNotFoundException
- See HyperCast Makefile for usage example.
Typical names of files: hypercast.xsd ConfigurationDefaults.java
java.net.MalformedURLException
java.io.IOException
java.io.FileNotFoundException