alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (tc-config.xml)

This example Jetty source code file (tc-config.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

utf-8, utf-8

The Jetty tc-config.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<tc:tc-config xmlns:tc="http://www.terracotta.org/config">
  <application>
    <dso>
      <roots>
        <root>
          <field-name>org.mortbay.cometd.AbstractCometdServlet._bayeux
        </root>
      </roots>      
      <distributed-methods>
        <method-expression>void org.mortbay.cometd.continuation.ContinuationClient.resume()
      </distributed-methods>
      <locks>
        <autolock>
          <method-expression>* org.mortbay.cometd.*.*(..)
          <lock-level>write
        </autolock>
        <autolock>
          <method-expression>* org.mortbay.cometd.continuation.*.*(..)
          <lock-level>write
        </autolock>
        <autolock>
          <method-expression>* org.mortbay.cometd.demo.BayeuxStartupListener$EchoRPC.*(..)
          <lock-level>write
        </autolock>
      </locks>
      <instrumented-classes>
        <include>
          <class-expression>org.mortbay.cometd..*
          <honor-transient>true
        </include>
        <include>
          <class-expression>org.mortbay.util.LazyList
          <honor-transient>true
        </include>
        <include>
          <class-expression>org.mortbay.cometd.continuation..*
          <honor-transient>true
        </include>
        <include>
          <class-expression>org.mortbay.util.ajax..*
          <honor-transient>true
        </include>
      </instrumented-classes>
    </dso>
  </application>
</tc:tc-config>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty tc-config.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.