[jboss-cvs] JBoss Messaging SVN: r6918 - trunk/docs/user-manual/en.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 20 07:18:07 EDT 2009
Author: ataylor
Date: 2009-05-20 07:18:07 -0400 (Wed, 20 May 2009)
New Revision: 6918
Modified:
trunk/docs/user-manual/en/embedding-jbm.xml
Log:
reformatted code and tables for embedding doc
Modified: trunk/docs/user-manual/en/embedding-jbm.xml
===================================================================
--- trunk/docs/user-manual/en/embedding-jbm.xml 2009-05-20 11:14:48 UTC (rev 6917)
+++ trunk/docs/user-manual/en/embedding-jbm.xml 2009-05-20 11:18:07 UTC (rev 6918)
@@ -52,9 +52,10 @@
server.start();</programlisting>
<para>You also have the option of instantiating <literal>MessagingServerImpl</literal>
directly:</para>
- <programlisting>MessagingServer server = new MessagingServerImpl(config,
- ManagementFactory.getPlatformMBeanServer(),
- new JBMSecurityManagerImpl());
+ <programlisting>MessagingServer server =
+ new MessagingServerImpl(config,
+ ManagementFactory.getPlatformMBeanServer(),
+ new JBMSecurityManagerImpl());
server.start();
</programlisting>
</section>
@@ -124,7 +125,8 @@
</deployment></programlisting>
<para><literal>JBMBootstrapServer</literal> provides an easy encapsulation of JBoss Micro
Container.</para>
- <programlisting>JBMBootstrapServer bootStrap = new JBMBootstrapServer(new String[] {"jbm-jboss-beans.xml"});
+ <programlisting>JBMBootstrapServer bootStrap =
+ new JBMBootstrapServer(new String[] {"jbm-jboss-beans.xml"});
bootStrap.run();</programlisting>
</section>
<section>
@@ -164,8 +166,9 @@
<para>Connection on an Embedded JBoss Messaging through JMS is also simple. Just
instantiate <literal>JBossConnectionFactory</literal> directly. The following
example illustrates that.</para>
- <programlisting>JBossConnectionFactory cf = new JBossConnectionFactory(
- new TransportConfiguration(InVMConnectorFactory.class.getName()));
+ <programlisting>JBossConnectionFactory cf =
+ new JBossConnectionFactory(
+ new TransportConfiguration(InVMConnectorFactory.class.getName()));
Connection conn = cf.createConnection();
More information about the jboss-cvs-commits
mailing list