Package org.jibx.binding
Class Run
java.lang.Object
org.jibx.binding.Run
Bind-on-load class runner. This uses a binding loader to compile a binding,
then loads and calls the main execution class for an application substituting
the classes modified by the binding.
- Version:
- 1.0
- Author:
- Dennis M. Sosnoski
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addBindings
(InputStream is, ArrayList bindings) Accumulate list of bindings from stream.static void
Main method for bind-on-load handling.
-
Field Details
-
BINDING_LIST_RESOURCE
- See Also:
-
DEFAULT_BINDING_RESOURCE
- See Also:
-
-
Constructor Details
-
Run
private Run()
-
-
Method Details
-
addBindings
Accumulate list of bindings from stream.- Parameters:
is
- stream to be read for list of bindings (one per line)bindings
- accumulated collection of bindings- Throws:
IOException
-
main
Main method for bind-on-load handling.- Parameters:
args
- command line arguments
-