|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beandoc.client.BeanDocClient
public class BeanDocClient
Command line client for the beandoc tool. Loads and runs a
ContextProcessor
with a default configuration. Accepts various command line
arguments which must contain values for input resources and an output directory and
can optionally contain other properties to further configure the default behaviour.
For total control and power consider supplying a context file location as this offers
the ability to select which Decorator
s and
Transformer
s are used in generating beandoc output. Alternatively, use
the DefaultContextProcessor
directly in code.
Constructor Summary | |
---|---|
BeanDocClient()
|
Method Summary | |
---|---|
static void |
main(String[] args)
Default boot strapper for the beandoc client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanDocClient()
Method Detail |
---|
public static void main(String[] args)
The properties file must contain values shown below in bold and can optionally contain any or none of the others.
input.files | one or more (comma or space separated)
resources that will be used as input files for the beandoc tool. All input files are
assumed to make a single application context or bean factory. Possible values are: classpath:/com/foo/bar/*.xml file:///home/jdoe/file1.xml,file:///home/jdoe/file2.xml |
output.dir | the directory (which must be writable for the current user) that output will be written to. |
compiler.dotExe | /usr/bin/dot |
processor.validateFiles | set to 'true' or 'false' to have the XML parser validate input files during parsing. True by default. |
graphs.outputType | default is png (strongly recommended) but can be switched to gif, jpg or svg as desired |
args
- command line parameters using GNU style options..
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |