Browse Source

add images in documentation

pull/1/head
Mark Pollack 15 years ago
parent
commit
403792b412
  1. 9
      pom.xml
  2. 24
      src/docbkx/reference/jmx.xml
  3. BIN
      src/docbkx/resources/images/jconsole.png

9
pom.xml

@ -127,7 +127,8 @@
<plugin> <plugin>
<groupId>com.agilejava.docbkx</groupId> <groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId> <artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.8</version> <!-- yes it really needs to be this (2.0.7) otherwise pdf generation from a clean build doesn't work -->
<version>2.0.7</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
@ -177,12 +178,18 @@
<include name="**/*.jpg"/> <include name="**/*.jpg"/>
</fileset> </fileset>
</copy> </copy>
<copy todir="${project.basedir}/target/site/reference/html">
<fileset dir="${project.basedir}/src/docbkx/resources/images">
<include name="*.png"/>
</fileset>
</copy>
<move file="${project.basedir}/target/site/reference/pdf/index.pdf" <move file="${project.basedir}/target/site/reference/pdf/index.pdf"
tofile="${project.basedir}/target/site/reference/pdf/spring-data-document-reference.pdf" tofile="${project.basedir}/target/site/reference/pdf/spring-data-document-reference.pdf"
failonerror="false"/> failonerror="false"/>
</postProcess> </postProcess>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version> <version>2.5</version>

24
src/docbkx/reference/jmx.xml

@ -1,27 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<chapter id="mongo.jmx"> <chapter id="mongo.jmx">
<title>JMX support</title> <title>JMX support</title>
<para>The JMX support for MongoDB exposes the results of executing the <para>The JMX support for MongoDB exposes the results of executing the
'serverStatus' command on the admin database for a single MongoDB server 'serverStatus' command on the admin database for a single MongoDB server
instance. It also exposes an administrative MBean, MongoAdmin which will let instance. It also exposes an administrative MBean, MongoAdmin which will let
you perform administrative operations such as drop or create a database. The you perform administrative operations such as drop or create a database. The
JMX features build upon the JMX feature set available in the Spring JMX features build upon the JMX feature set available in the Spring
Framework. See Framework. See <ulink
<ulink url="http://static.springsource.org/spring/docs/3.0.x/reference/jmx.html">here
url="http://static.springsource.org/spring/docs/3.0.x/reference/jmx.html">here </ulink> for more details.</para>
</ulink>
for more details.
</para>
<section id="mongodb:jmx-configuration"> <section id="mongodb:jmx-configuration">
<title>MongoDB JMX Configuration</title> <title>MongoDB JMX Configuration</title>
<para>Spring's Mongo namespace enables you to easily enable JMX <para>Spring's Mongo namespace enables you to easily enable JMX
functionality functionality</para>
</para>
<example> <example>
<title>XML schmea to configure MongoDB</title> <title>XML schmea to configure MongoDB</title>
@ -108,7 +104,7 @@
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="..\resources\images\jconsole.png"/> <imagedata fileref="jconsole.png" />
</imageobject> </imageobject>
</mediaobject> </mediaobject>
</section> </section>

BIN
src/docbkx/resources/images/jconsole.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Loading…
Cancel
Save