cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r867253 [32/46] - in /websites/production/cxf/content: ./ 2008/04/28/ 2008/06/20/ 2009/02/10/ 2009/08/04/ cache/ docs/ docs/cxf-architecture.thumbs/ docs/cxf-dependency-graphs.thumbs/ docs/logbrowser-configuration.thumbs/ docs/logbrowser-so...
Date Mon, 24 Jun 2013 17:10:57 GMT
Modified: websites/production/cxf/content/docs/jmx-management.html
==============================================================================
--- websites/production/cxf/content/docs/jmx-management.html (original)
+++ websites/production/cxf/content/docs/jmx-management.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - JMX Management">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- JMX Management
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- JMX Management
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- JMX Management
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -126,17 +134,17 @@ Apache CXF -- JMX Management
 <p>To enable JMX integration, register an InstrumentationManager extension with the CXF bus.  Using Spring XML on Tomcat, the following minimal XML snippet will enable JMX integration.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf.xml"</span>/&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;import resource="classpath:META-INF/cxf/cxf.xml"/&gt;
 ...
 
-&lt;bean id=<span class="code-quote">"org.apache.cxf.management.InstrumentationManager"</span>
-  class=<span class="code-quote">"org.apache.cxf.management.jmx.InstrumentationManagerImpl"</span>&gt;
-  <span class="code-tag">&lt;property name=<span class="code-quote">"enabled"</span> value=<span class="code-quote">"true"</span> /&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> /&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"usePlatformMBeanServer"</span> value=<span class="code-quote">"true"</span> /&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+&lt;bean id="org.apache.cxf.management.InstrumentationManager"
+  class="org.apache.cxf.management.jmx.InstrumentationManagerImpl"&gt;
+  &lt;property name="enabled" value="true" /&gt;
+  &lt;property name="bus" ref="cxf" /&gt;
+  &lt;property name="usePlatformMBeanServer" value="true" /&gt;
+&lt;/bean&gt;
+]]></script>
 </div></div>
 
 <p>The default InstrumentationManager accepts the following configuration options:</p>
@@ -151,13 +159,13 @@ Apache CXF -- JMX Management
 <p>If you're using Maven, make sure you have the following dependency added to the pom.xml for the web service provider:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
     &lt;artifactId&gt;cxf-rt-management&lt;/artifactId&gt;
     &lt;version&gt;${cxf.version}&lt;/version&gt;
 &lt;/dependency&gt;
-</pre>
+]]></script>
 </div></div>
 
 
@@ -166,28 +174,28 @@ Apache CXF -- JMX Management
 <p>Enable JMX integration by adding the following XML to your CXF Spring context.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;bean id=<span class="code-quote">"org.apache.cxf.management.InstrumentationManager"</span>
-  class=<span class="code-quote">"org.apache.cxf.management.jmx.InstrumentationManagerImpl"</span>&gt;
-  <span class="code-tag">&lt;property name=<span class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> /&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"enabled"</span> value=<span class="code-quote">"true"</span> /&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"JMXServiceURL "</span> value=<span class="code-quote">"service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi"</span> /&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="org.apache.cxf.management.InstrumentationManager"
+  class="org.apache.cxf.management.jmx.InstrumentationManagerImpl"&gt;
+  &lt;property name="bus" ref="cxf" /&gt;
+  &lt;property name="enabled" value="true" /&gt;
+  &lt;property name="JMXServiceURL " value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" /&gt;
+&lt;/bean&gt;
+]]></script>
 </div></div>
 
 <p>Starting from 2.5.2, an equivalent configuration of the above instrumentation manager can be directly made within the bus configuration using the corresponding property names having the "bus.jmx" prefix, as in</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;cxf:bus bus=<span class="code-quote">"cxf"</span>&gt;</span>
-  <span class="code-tag">&lt;cxf:properties&gt;</span>
-    <span class="code-tag">&lt;entry key=<span class="code-quote">"bus.jmx.enabled"</span> value=<span class="code-quote">"true"</span>/&gt;</span>
-    <span class="code-tag">&lt;entry key=<span class="code-quote">"bus.jmx.JMXServiceURL"</span> value=<span class="code-quote">"service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi"</span> /&gt;</span>
-  <span class="code-tag">&lt;/cxf:properties&gt;</span>
-<span class="code-tag">&lt;/cxf:bus&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;cxf:bus bus="cxf"&gt;
+  &lt;cxf:properties&gt;
+    &lt;entry key="bus.jmx.enabled" value="true"/&gt;
+    &lt;entry key="bus.jmx.JMXServiceURL" value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" /&gt;
+  &lt;/cxf:properties&gt;
+&lt;/cxf:bus&gt;
 
-</pre>
+]]></script>
 </div></div>
 
 <div class="table-wrap">
@@ -212,30 +220,30 @@ Then you can browse to your endpoint:<br
 <p>If you are embedding a CXF service in a ServiceMix 4 container, the configuration is slightly different from above. You don't want to start a new MBeanServer and you probably don't want to create additional connectors as the container manages both of these for you.  You can get a reference to the container's MBeanServer through the OSGi framework and inject this reference into the JMX integration extension. Don't forget to add the Spring OSGI namespace and schemaLocation to your CXF configuration file if they are not already present.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><span class="code-comment">&lt;!-- OSGi namespace and schemaLocation required --&gt;</span></span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;!-- OSGi namespace and schemaLocation required --&gt;
 &lt;beans ...
-       <span class="code-keyword">xmlns:osgi</span>=<span class="code-quote">"http://www.springframework.org/schema/osgi"</span>
+       xmlns:osgi="http://www.springframework.org/schema/osgi"
        ...
        xsi:schemaLocation="...
        http://www.springframework.org/schema/osgi  http://www.springframework.org/schema/osgi/spring-osgi.xsd"&gt;
 
 ...
 
-<span class="code-tag"><span class="code-comment">&lt;!-- Grab a reference to the current MBeanServer --&gt;</span></span>
-<span class="code-tag">&lt;osgi:reference id=<span class="code-quote">"mbeanServer"</span> interface=<span class="code-quote">"javax.management.MBeanServer"</span> cardinality=<span class="code-quote">"0..1"</span>/&gt;</span>
+&lt;!-- Grab a reference to the current MBeanServer --&gt;
+&lt;osgi:reference id="mbeanServer" interface="javax.management.MBeanServer" cardinality="0..1"/&gt;
 
-&lt;bean id=<span class="code-quote">"org.apache.cxf.management.InstrumentationManager"</span>
-  class=<span class="code-quote">"org.apache.cxf.management.jmx.InstrumentationManagerImpl"</span>&gt;
-  <span class="code-tag">&lt;property name=<span class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> /&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"enabled"</span> value=<span class="code-quote">"true"</span> /&gt;</span>
-  <span class="code-tag"><span class="code-comment">&lt;!-- Unless you really want to open an additional connector, set this to false --&gt;</span></span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"createMBServerConnectorFactory "</span> value=<span class="code-quote">"false"</span> /&gt;</span>
-
-  <span class="code-tag"><span class="code-comment">&lt;!-- Inject the reference to the MBeanServer --&gt;</span></span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"server"</span> ref=<span class="code-quote">"mbeanServer"</span> /&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+&lt;bean id="org.apache.cxf.management.InstrumentationManager"
+  class="org.apache.cxf.management.jmx.InstrumentationManagerImpl"&gt;
+  &lt;property name="bus" ref="cxf" /&gt;
+  &lt;property name="enabled" value="true" /&gt;
+  &lt;!-- Unless you really want to open an additional connector, set this to false --&gt;
+  &lt;property name="createMBServerConnectorFactory " value="false" /&gt;
+
+  &lt;!-- Inject the reference to the MBeanServer --&gt;
+  &lt;property name="server" ref="mbeanServer" /&gt;
+&lt;/bean&gt;
+]]></script>
 </div></div>
 
 <p><a shape="rect" name="JMXManagement-responsetime"></a></p>
@@ -247,12 +255,12 @@ Then you can browse to your endpoint:<br
 <p>Here is the configuration snippet that you should add to your Spring context file to be able to view this information:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-    <span class="code-tag"><span class="code-comment">&lt;!-- Wiring the counter repository --&gt;</span></span>
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"CounterRepository"</span> class=<span class="code-quote">"org.apache.cxf.management.counters.CounterRepository"</span>&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> /&gt;</span>
-    <span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+    &lt;!-- Wiring the counter repository --&gt;
+    &lt;bean id="CounterRepository" class="org.apache.cxf.management.counters.CounterRepository"&gt;
+        &lt;property name="bus" ref="cxf" /&gt;
+    &lt;/bean&gt;
+]]></script>
 </div></div>
 
 <p>The CounterRepository collects the following metrics: invocations, checked application faults, unchecked application faults, runtime faults, logical runtime faults, total handling time, max handling time, and min handling time.  Note a SOAP call will need to occur against the web service before you will see the MBean within your JMX monitoring software.</p></div>

Modified: websites/production/cxf/content/docs/json-support.html
==============================================================================
--- websites/production/cxf/content/docs/json-support.html (original)
+++ websites/production/cxf/content/docs/json-support.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,17 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - JSON Support">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- JSON Support
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- JSON Support
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +101,7 @@ Apache CXF -- JSON Support
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -124,13 +131,13 @@ Apache CXF -- JSON Support
 <div id="ConfluenceContent"><h1><a shape="rect" name="JSONSupport-JSONOverview"></a>JSON Overview</h1>
 <p>JSON is a textual data format for data exchange. JSON stands for Javascript Object Notation and, as the name implies, is itself Javascript. Here is a small sample:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 {
-  <span class="code-quote">"customer"</span> : {
-    <span class="code-quote">"name"</span> : <span class="code-quote">"Jane Doe"</span>,
-    <span class="code-quote">"company"</span> : <span class="code-quote">"Acme Enterprises"</span>
+  "customer" : {
+    "name" : "Jane Doe",
+    "company" : "Acme Enterprises"
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>One of the advantages of JSON is that is very easy for Javascript developers to use - it simply needs to be evaluated and it immediately becomes a javascript object. For more information on this see the <a shape="rect" class="external-link" href="http://json.org" rel="nofollow">JSON website</a>.</p>
@@ -144,9 +151,9 @@ Apache CXF -- JSON Support
 1. The "mapped" convention. In this convention namespaces are mapped to json prefixes. For instance, if you have a namespace "http://acme.com" you could map it to the "acme" prefix. This means that the element &lt;customer xmlns="http://acme.com"&gt; would be mapped to the "acme.customer" JSON tag.<br clear="none">
 2. The <a shape="rect" class="external-link" href="http://badgerfish.ning.com" rel="nofollow">BadgerFish</a> convention. This convention provides a mapping of the full XML infoset to JSON. Attributes are represented with an @ sign - i.e. "@attributeName" : "value". Textual data is represented with the "$" as the tag. Example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-{ <span class="code-quote">"customer"</span> : { <span class="code-quote">"name"</span> : { <span class="code-quote">"$"</span> : <span class="code-quote">"Jane Doe"</span> } } }
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+{ "customer" : { "name" : { "$" : "Jane Doe" } } }
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="JSONSupport-ConfiguringJettison"></a>Configuring Jettison</h1>
@@ -155,45 +162,45 @@ Apache CXF -- JSON Support
 <h2><a shape="rect" name="JSONSupport-UsingServerFactoryBeans"></a>Using ServerFactoryBeans</h2>
 <p>This example shows how to set up Jettison using a ServerFactoryBean, such as the JaxWsServerFactoryBean. First you must create a properties HashMap and set the StAX XMLInputFactory and XMLOutputFactory:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-Map&lt;<span class="code-object">String</span>,<span class="code-object">Object</span>&gt; properties = <span class="code-keyword">new</span> HashMap&lt;<span class="code-object">String</span>,<span class="code-object">Object</span>&gt;();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+Map&lt;String,Object&gt; properties = new HashMap&lt;String,Object&gt;();
+
+// Create a mapping between the XML namespaces and the JSON prefixes.
+// The JSON prefix can be "" to specify that you don't want any prefix.
+HashMap&lt;String, String&gt; nstojns = new HashMap&lt;String,String&gt;();
+nstojns.put("http://customer.acme.com", "acme");
 
-<span class="code-comment">// Create a mapping between the XML namespaces and the JSON prefixes.
-</span><span class="code-comment">// The JSON prefix can be "" to specify that you don't want any prefix.
-</span>HashMap&lt;<span class="code-object">String</span>, <span class="code-object">String</span>&gt; nstojns = <span class="code-keyword">new</span> HashMap&lt;<span class="code-object">String</span>,<span class="code-object">String</span>&gt;();
-nstojns.put(<span class="code-quote">"http:<span class="code-comment">//customer.acme.com"</span>, <span class="code-quote">"acme"</span>);
-</span>
-MappedXMLInputFactory xif = <span class="code-keyword">new</span> MappedXMLInputFactory(nstojns);
+MappedXMLInputFactory xif = new MappedXMLInputFactory(nstojns);
 properties.put(XMLInputFactory.class.getName(), xif);
 
-MappedXMLOutputFactory xof = <span class="code-keyword">new</span> MappedXMLOutputFactory(nstojns);
+MappedXMLOutputFactory xof = new MappedXMLOutputFactory(nstojns);
 properties.put(XMLOutputFactory.class.getName(), xof);
-</pre>
+]]></script>
 </div></div>
 <p>You must also tell CXF which Content-Type you wish to serve:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">// Tell CXF to use a different Content-Type <span class="code-keyword">for</span> the JSON endpoint
-</span><span class="code-comment">// This should probably be application/json, but text/plain allows
-</span><span class="code-comment">// us to view easily in a web browser.
-</span>properties.put(<span class="code-quote">"Content-Type"</span>, <span class="code-quote">"text/plain"</span>);
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+// Tell CXF to use a different Content-Type for the JSON endpoint
+// This should probably be application/json, but text/plain allows
+// us to view easily in a web browser.
+properties.put("Content-Type", "text/plain");
+]]></script>
 </div></div>
 <p>Last, you'll want to actually create your service:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">// Build up the server factory bean
-</span>JaxWsServerFactoryBean sf = <span class="code-keyword">new</span> JaxWsServerFactoryBean();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+// Build up the server factory bean
+JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
 sf.setServiceClass(CustomerService.class);
-<span class="code-comment">// Use the HTTP Binding which understands the Java Rest Annotations
-</span>sf.setBindingId(HttpBindingFactory.HTTP_BINDING_ID);
-sf.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:8080/json"</span>);
-</span>sf.setServiceBean(<span class="code-keyword">new</span> CustomerServiceImpl());
+// Use the HTTP Binding which understands the Java Rest Annotations
+sf.setBindingId(HttpBindingFactory.HTTP_BINDING_ID);
+sf.setAddress("http://localhost:8080/json");
+sf.setServiceBean(new CustomerServiceImpl());
 
 sf.setProperties(properties);
 
 sf.create();
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/licenses.html
==============================================================================
--- websites/production/cxf/content/docs/licenses.html (original)
+++ websites/production/cxf/content/docs/licenses.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Licenses">
+
+
     <title>
 Apache CXF -- Licenses
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Licenses
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Licenses
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/local-transport.html
==============================================================================
--- websites/production/cxf/content/docs/local-transport.html (original)
+++ websites/production/cxf/content/docs/local-transport.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Local Transport">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Local Transport
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Local Transport
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Local Transport
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -130,90 +138,90 @@ Apache CXF -- Local Transport
 <h2><a shape="rect" name="LocalTransport-JAXWS"></a>JAX-WS</h2>
 <p>This code shows how to publish on a local endpoint:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> javax.xml.ws.Endpoint;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import javax.xml.ws.Endpoint;
 
-HelloServiceImpl serverImpl = <span class="code-keyword">new</span> HelloServiceImpl();
-Endpoint.publish(<span class="code-quote">"local:<span class="code-comment">//hello"</span>, serverImpl);</span>
-</pre>
+HelloServiceImpl serverImpl = new HelloServiceImpl();
+Endpoint.publish("local://hello", serverImpl);
+]]></script>
 </div></div>
 
 <p>Or with XML:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-      <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
-      <span class="code-keyword">xmlns:simple</span>=<span class="code-quote">"http://cxf.apache.org/simple"</span>
-      <span class="code-keyword">xmlns:soap</span>=<span class="code-quote">"http://cxf.apache.org/bindings/soap"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xmlns:simple="http://cxf.apache.org/simple"
+      xmlns:soap="http://cxf.apache.org/bindings/soap"
       xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
 http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd"&gt;
 
-  <span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf.xml"</span>/&gt;</span>
-  <span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf-extension-soap.xml"</span>/&gt;</span>
+  &lt;import resource="classpath:META-INF/cxf/cxf.xml"/&gt;
+  &lt;import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/&gt;
     
-  <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.transport.local.LocalTransportFactory"</span> lazy-init=<span class="code-quote">"false"</span>&gt;</span>
-      <span class="code-tag">&lt;property name=<span class="code-quote">"transportIds"</span>&gt;</span>
-          <span class="code-tag">&lt;list&gt;</span>
-              <span class="code-tag">&lt;value&gt;</span>http://cxf.apache.org/transports/local<span class="code-tag">&lt;/value&gt;</span>
-              <span class="code-tag">&lt;value&gt;</span>http://schemas.xmlsoap.org/soap/http<span class="code-tag">&lt;/value&gt;</span>
-              <span class="code-tag">&lt;value&gt;</span>http://schemas.xmlsoap.org/wsdl/soap/http<span class="code-tag">&lt;/value&gt;</span>
-          <span class="code-tag">&lt;/list&gt;</span>
-      <span class="code-tag">&lt;/property&gt;</span>
-  <span class="code-tag">&lt;/bean&gt;</span>
+  &lt;bean class="org.apache.cxf.transport.local.LocalTransportFactory" lazy-init="false"&gt;
+      &lt;property name="transportIds"&gt;
+          &lt;list&gt;
+              &lt;value&gt;http://cxf.apache.org/transports/local&lt;/value&gt;
+              &lt;value&gt;http://schemas.xmlsoap.org/soap/http&lt;/value&gt;
+              &lt;value&gt;http://schemas.xmlsoap.org/wsdl/soap/http&lt;/value&gt;
+          &lt;/list&gt;
+      &lt;/property&gt;
+  &lt;/bean&gt;
   
-  <span class="code-tag">&lt;jaxws:endpoint name=<span class="code-quote">"helloWorld"</span> address=<span class="code-quote">"local://hello"</span> implementor=<span class="code-quote">"org.example.HelloServiceImpl"</span>/&gt;</span>
+  &lt;jaxws:endpoint name="helloWorld" address="local://hello" implementor="org.example.HelloServiceImpl"/&gt;
 
-<span class="code-tag">&lt;/beans&gt;</span>
+&lt;/beans&gt;
 
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="LocalTransport-SimpleFrontend"></a>Simple Frontend</h2>
 <p>Before you use the local transport , you need to register the default soap transportURI with the local transport factory in the bus</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 
 Bus bus = BusFactory.getDefaultBus();
-LocalTransportFactory localTransport = <span class="code-keyword">new</span> LocalTransportFactory();
-dfm.registerDestinationFactory(<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>, localTransport);
-</span>dfm.registerDestinationFactory(<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap/http"</span>, localTransport);
-</span>dfm.registerDestinationFactory(<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/bindings/xformat"</span>, localTransport);
-</span>dfm.registerDestinationFactory(<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/local"</span>, localTransport);
-</span>
+LocalTransportFactory localTransport = new LocalTransportFactory();
+dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
+dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
+dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
+dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
+
 ConduitInitiatorManager extension = bus.getExtension(ConduitInitiatorManager.class);
-extension.registerConduitInitiator(<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/local"</span>, localTransport);
-</span>extension.registerConduitInitiator(<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap/http"</span>, localTransport);
-</span>extension.registerConduitInitiator(<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>, localTransport);
-</span>extension.registerConduitInitiator(<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/bindings/xformat"</span>, localTransport);
-</span>
-</pre>
+extension.registerConduitInitiator("http://cxf.apache.org/transports/local", localTransport);
+extension.registerConduitInitiator("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
+extension.registerConduitInitiator("http://schemas.xmlsoap.org/soap/http", localTransport);
+extension.registerConduitInitiator("http://cxf.apache.org/bindings/xformat", localTransport);
+
+]]></script>
 </div></div>
 
 <p>You can also pass in a local://address to the server and client factory beans:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ServerFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.frontend.ServerFactoryBean;
 
-ServerFactoryBean sf = <span class="code-keyword">new</span> ServerFactoryBean();
-sf.setAddress(<span class="code-quote">"local:<span class="code-comment">//hello"</span>);
-</span>sf.setServiceBean(<span class="code-keyword">new</span> HelloServiceImpl());
-sf.setServiceClass(HelloService.class); <span class="code-comment">// Optionally specify the service <span class="code-keyword">interface</span>
-</span>sf.create();
-</pre>
+ServerFactoryBean sf = new ServerFactoryBean();
+sf.setAddress("local://hello");
+sf.setServiceBean(new HelloServiceImpl());
+sf.setServiceClass(HelloService.class); // Optionally specify the service interface
+sf.create();
+]]></script>
 </div></div>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ClientProxyFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.frontend.ClientProxyFactoryBean;
 
-ClientProxyFactoryBean cf = <span class="code-keyword">new</span> ClientProxyFactoryBean();
-cf.setAddress(<span class="code-quote">"local:<span class="code-comment">//hello"</span>);
-</span>cf.setServiceClass(HelloService.class); <span class="code-comment">// Optionally specify the service <span class="code-keyword">interface</span>
-</span>HelloService h = (HelloService) cf.create();
-</pre>
+ClientProxyFactoryBean cf = new ClientProxyFactoryBean();
+cf.setAddress("local://hello");
+cf.setServiceClass(HelloService.class); // Optionally specify the service interface
+HelloService h = (HelloService) cf.create();
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/logbrowser-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/logbrowser-configuration.html (original)
+++ websites/production/cxf/content/docs/logbrowser-configuration.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,19 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - LogBrowser - Configuration">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- LogBrowser - Configuration
     </title>
@@ -42,19 +55,15 @@ Apache CXF -- LogBrowser - Configuration
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +103,7 @@ Apache CXF -- LogBrowser - Configuration
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -140,29 +149,29 @@ Apache CXF -- LogBrowser - Configuration
 <p>Add <tt>cxf-rt-management-web</tt> dependency to your Maven project (if you don't use Maven as management tool, omit this step and add <tt>cxf-rt-management-web</tt> library manually):</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;project&gt;</span>
+<script class="theme: Default; brush: xml; gutter: true" type="syntaxhighlighter"><![CDATA[
+&lt;project&gt;
 
     [...]
 
-    <span class="code-tag">&lt;dependencies&gt;</span>
+    &lt;dependencies&gt;
 
         [...]
 
-        <span class="code-tag">&lt;dependency&gt;</span>
-            <span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span class="code-tag">&lt;/groupId&gt;</span>
-            <span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-management-web<span class="code-tag">&lt;/artifactId&gt;</span>
-            <span class="code-tag">&lt;version&gt;</span>2.3.0<span class="code-tag">&lt;/version&gt;</span>
-        <span class="code-tag">&lt;/dependency&gt;</span>
+        &lt;dependency&gt;
+            &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
+            &lt;artifactId&gt;cxf-rt-management-web&lt;/artifactId&gt;
+            &lt;version&gt;2.3.0&lt;/version&gt;
+        &lt;/dependency&gt;
 
         [...]
 
-    <span class="code-tag">&lt;/dependencies&gt;</span>
+    &lt;/dependencies&gt;
 
     [...]
 
-<span class="code-tag">&lt;/project&gt;</span>
-</pre>
+&lt;/project&gt;
+]]></script>
 </div></div>
 
 <h5><a shape="rect" name="LogBrowser-Configuration-Step2"></a>Step 2</h5>
@@ -170,56 +179,56 @@ Apache CXF -- LogBrowser - Configuration
 <p>Add new class to your project, <tt>LogBrowserApp</tt>. Add content from sample below.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>LogBrowserApp.java</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">package</span> yourpackage;
+<script class="theme: Default; brush: java; gutter: true" type="syntaxhighlighter"><![CDATA[
+package yourpackage;
 
-<span class="code-keyword">import</span> java.util.Collections;
-<span class="code-keyword">import</span> java.util.HashMap;
-<span class="code-keyword">import</span> java.util.HashSet;
-<span class="code-keyword">import</span> java.util.Set;
-<span class="code-keyword">import</span> javax.ws.rs.core.Application;
-<span class="code-keyword">import</span> javax.ws.rs.ext.Provider;
-
-<span class="code-keyword">import</span> org.apache.cxf.jaxrs.provider.AtomEntryProvider;
-<span class="code-keyword">import</span> org.apache.cxf.jaxrs.provider.AtomFeedProvider;
-<span class="code-keyword">import</span> org.apache.cxf.management.web.logging.atom.AtomPullServer;
-<span class="code-keyword">import</span> org.apache.cxf.management.web.logging.logbrowser.bootstrapping.BootstrapStorage;
-<span class="code-keyword">import</span> org.apache.cxf.management.web.logging.logbrowser.bootstrapping.SimpleAuthenticationFilter;
-<span class="code-keyword">import</span> org.apache.cxf.management.web.logging.logbrowser.bootstrapping.SimpleXMLSettingsStorage;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Set;
+import javax.ws.rs.core.Application;
+import javax.ws.rs.ext.Provider;
+
+import org.apache.cxf.jaxrs.provider.AtomEntryProvider;
+import org.apache.cxf.jaxrs.provider.AtomFeedProvider;
+import org.apache.cxf.management.web.logging.atom.AtomPullServer;
+import org.apache.cxf.management.web.logging.logbrowser.bootstrapping.BootstrapStorage;
+import org.apache.cxf.management.web.logging.logbrowser.bootstrapping.SimpleAuthenticationFilter;
+import org.apache.cxf.management.web.logging.logbrowser.bootstrapping.SimpleXMLSettingsStorage;
 
 @Provider
-<span class="code-keyword">public</span> class LogBrowserApp <span class="code-keyword">extends</span> Application {
-	Set&lt;<span class="code-object">Object</span>&gt; classes = <span class="code-keyword">new</span> HashSet&lt;<span class="code-object">Object</span>&gt;();
+public class LogBrowserApp extends Application {
+	Set&lt;Object&gt; classes = new HashSet&lt;Object&gt;();
 	
-	<span class="code-keyword">static</span> {
-        AtomPullServer aps = <span class="code-keyword">new</span> AtomPullServer();
-        aps.setLoggers(<span class="code-quote">"yourpackage:INFO"</span>);
+	static {
+        AtomPullServer aps = new AtomPullServer();
+        aps.setLoggers("yourpackage:INFO");
         aps.init();
 
         classes.add(aps);
-        classes.add(<span class="code-keyword">new</span> AtomFeedProvider());
-        classes.add(<span class="code-keyword">new</span> AtomEntryProvider());
-        classes.add(<span class="code-keyword">new</span> BootstrapStorage(<span class="code-keyword">new</span> SimpleXMLSettingsStorage()));
-        classes.add(<span class="code-keyword">new</span> SimpleAuthenticationFilter(<span class="code-keyword">new</span> HashMap&lt;<span class="code-object">String</span>, <span class="code-object">String</span>&gt;() {
+        classes.add(new AtomFeedProvider());
+        classes.add(new AtomEntryProvider());
+        classes.add(new BootstrapStorage(new SimpleXMLSettingsStorage()));
+        classes.add(new SimpleAuthenticationFilter(new HashMap&lt;String, String&gt;() {
             {
-            	<span class="code-comment">// add all required users by specified username and password, <span class="code-keyword">for</span> example: put(<span class="code-quote">"admin"</span>, <span class="code-quote">"admin"</span>);
-</span>            }
+            	// add all required users by specified username and password, for example: put("admin", "admin");
+            }
         }));
-        classes.add(<span class="code-keyword">new</span> BootstrapStorage.StaticFileProvider());
-        classes.add(<span class="code-keyword">new</span> BootstrapStorage.SettingsProvider());
+        classes.add(new BootstrapStorage.StaticFileProvider());
+        classes.add(new BootstrapStorage.SettingsProvider());
 	}
 	
     @Override
-    <span class="code-keyword">public</span> Set&lt;<span class="code-object">Class</span>&lt;?&gt;&gt; getClasses() {
-        <span class="code-keyword">return</span> Collections.emptySet();
+    public Set&lt;Class&lt;?&gt;&gt; getClasses() {
+        return Collections.emptySet();
     }
 
     @Override
-    <span class="code-keyword">public</span> Set&lt;<span class="code-object">Object</span>&gt; getSingletons() {
-        <span class="code-keyword">return</span> classes;
+    public Set&lt;Object&gt; getSingletons() {
+        return classes;
     }
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>We have to modify newly created class a little bit:</p>
@@ -231,33 +240,33 @@ Apache CXF -- LogBrowser - Configuration
 <p>Add new servlet definition to your <tt>web.xml</tt> file, like in sample below: </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>web.xml</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;web-app&gt;</span>
+<script class="theme: Default; brush: xml; gutter: true" type="syntaxhighlighter"><![CDATA[
+&lt;web-app&gt;
 
 	[...]
 	
-	<span class="code-tag">&lt;servlet&gt;</span>
-		<span class="code-tag">&lt;servlet-name&gt;</span>LogBrowserApp<span class="code-tag">&lt;/servlet-name&gt;</span>
-		<span class="code-tag">&lt;display-name&gt;</span>LogBrowserApp<span class="code-tag">&lt;/display-name&gt;</span>
-		<span class="code-tag">&lt;servlet-class&gt;</span>
+	&lt;servlet&gt;
+		&lt;servlet-name&gt;LogBrowserApp&lt;/servlet-name&gt;
+		&lt;display-name&gt;LogBrowserApp&lt;/display-name&gt;
+		&lt;servlet-class&gt;
 			org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
-		<span class="code-tag">&lt;/servlet-class&gt;</span>
-		<span class="code-tag">&lt;init-param&gt;</span>
-			<span class="code-tag">&lt;param-name&gt;</span>javax.ws.rs.Application<span class="code-tag">&lt;/param-name&gt;</span>
-			<span class="code-tag">&lt;param-value&gt;</span>yourpackage.LogBrowserApp<span class="code-tag">&lt;/param-value&gt;</span>
-		<span class="code-tag">&lt;/init-param&gt;</span>
-		<span class="code-tag">&lt;load-on-startup&gt;</span>1<span class="code-tag">&lt;/load-on-startup&gt;</span>
-	<span class="code-tag">&lt;/servlet&gt;</span>
-
-	<span class="code-tag">&lt;servlet-mapping&gt;</span>
-		<span class="code-tag">&lt;servlet-name&gt;</span>LogBrowserApp<span class="code-tag">&lt;/servlet-name&gt;</span>
-		<span class="code-tag">&lt;url-pattern&gt;</span>/log/*<span class="code-tag">&lt;/url-pattern&gt;</span>
-	<span class="code-tag">&lt;/servlet-mapping&gt;</span>
+		&lt;/servlet-class&gt;
+		&lt;init-param&gt;
+			&lt;param-name&gt;javax.ws.rs.Application&lt;/param-name&gt;
+			&lt;param-value&gt;yourpackage.LogBrowserApp&lt;/param-value&gt;
+		&lt;/init-param&gt;
+		&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
+	&lt;/servlet&gt;
+
+	&lt;servlet-mapping&gt;
+		&lt;servlet-name&gt;LogBrowserApp&lt;/servlet-name&gt;
+		&lt;url-pattern&gt;/log/*&lt;/url-pattern&gt;
+	&lt;/servlet-mapping&gt;
 	
 	[...]
 
-<span class="code-tag">&lt;/web-app&gt;</span>	
-</pre>
+&lt;/web-app&gt;	
+]]></script>
 </div></div>
 
 <p>Go to line 13 and replace <tt>yourpackage</tt> phrase with a valid package.</p>
@@ -268,16 +277,14 @@ Apache CXF -- LogBrowser - Configuration
 
 <h5><a shape="rect" name="LogBrowser-Configuration-Step5"></a>Step 5</h5>
 
-<p>Open browser and go to URL: </p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-none">http://localhost:9002/log/bootstrapstorage/resources/LogBrowser.html</pre>
+<p>Open browser and go to URL: </p><div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: plain; gutter: false" type="syntaxhighlighter"><![CDATA[http://localhost:9002/log/bootstrapstorage/resources/LogBrowser.html]]></script>
 </div></div>
 
 <h5><a shape="rect" name="LogBrowser-Configuration-Step6"></a>Step 6</h5>
 
-<p>Add new endpoint with URL: </p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-none">http://localhost:9002/log/logs</pre>
+<p>Add new endpoint with URL: </p><div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: plain; gutter: false" type="syntaxhighlighter"><![CDATA[http://localhost:9002/log/logs]]></script>
 </div></div>
 
 <p>Congratulation. Now you can easily view log enties using LogBrowser. </p>

Modified: websites/production/cxf/content/docs/logbrowser-configuration.thumbs/accessControl-wrongUsernameOrPassword.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-configuration.thumbs/accessControl.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-configuration.thumbs/browser.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-configuration.thumbs/settings-addEndpoint-emptyFields.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-configuration.thumbs/settings-addEndpoint.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-configuration.thumbs/settings.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-software-requirements-specification.html
==============================================================================
--- websites/production/cxf/content/docs/logbrowser-software-requirements-specification.html (original)
+++ websites/production/cxf/content/docs/logbrowser-software-requirements-specification.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - LogBrowser - Software Requirements Specification">
+
+
     <title>
 Apache CXF -- LogBrowser - Software Requirements Specification
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- LogBrowser - Software Requ
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- LogBrowser - Software Requ
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/logbrowser-software-requirements-specification.thumbs/browseEvents.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-software-requirements-specification.thumbs/manageEndpoints.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-software-requirements-specification.thumbs/primaryUseCases.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.html
==============================================================================
--- websites/production/cxf/content/docs/logbrowser-system-architectural-design.html (original)
+++ websites/production/cxf/content/docs/logbrowser-system-architectural-design.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - LogBrowser - System architectural design">
+
+
     <title>
 Apache CXF -- LogBrowser - System architectural design
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- LogBrowser - System archit
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- LogBrowser - System archit
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -235,19 +233,25 @@ Apache CXF -- LogBrowser - System archit
 
 <p>Data required for authorization will be send through <a shape="rect" class="external-link" href="http://www.xml.com/pub/a/2003/12/17/dive.html" rel="nofollow">HTTP header</a>, for example:</p>
 
-<div class="error"><span class="error">Unknown macro: {newcode}</span> 
-<p>POST /atom.cgi HTTP/1.1<br clear="none">
-Host: bob.example.com<br clear="none">
-Content-Type: application/atom+xml<br clear="none">
-Authorization: WSSE profile="UsernameToken"<br clear="none">
-X-WSSE: UsernameToken Username="bob", PasswordDigest="quR/EWLAV4xLf9Zqyw4pDmfV9OY=", <br clear="none">
-Nonce="d36e316282959a9ed4c89851497a717f", Created="2003-12-15T14:43:07Z"</p></div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST /atom.cgi HTTP/1.1
+Host: bob.example.com
+Content-Type: application/atom+xml
+Authorization: WSSE profile="UsernameToken"
+X-WSSE: UsernameToken Username="bob", PasswordDigest="quR/EWLAV4xLf9Zqyw4pDmfV9OY=", 
+Nonce="d36e316282959a9ed4c89851497a717f", Created="2003-12-15T14:43:07Z"
+]]></script>
+</div></div>
 
 <p>When authorization fail, web service will response like this:</p>
 
-<div class="error"><span class="error">Unknown macro: {newcode}</span> 
-<p>HTTP/1.1 401 Unauthorized<br clear="none">
-WWW-Authenticate: WSSE realm="foo", profile="UsernameToken"</p></div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+HTTP/1.1 401 Unauthorized
+WWW-Authenticate: WSSE realm="foo", profile="UsernameToken"
+]]></script>
+</div></div>
 
 <p>Authorization process use UsernameTokenInterceptor.</p>
 

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/aps_accessControl.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/browsingLogEntries.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/bs_accessControl.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/centralisedStructure.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/centralisedStructureWithLogServer.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/decentralisedStructure.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/loadingSettings.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/modifyingSettings.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser-system-architectural-design.thumbs/searchingLogEntries.png
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/logbrowser.html
==============================================================================
--- websites/production/cxf/content/docs/logbrowser.html (original)
+++ websites/production/cxf/content/docs/logbrowser.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - LogBrowser">
+
+
     <title>
 Apache CXF -- LogBrowser
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- LogBrowser
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- LogBrowser
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>



Mime
View raw message