Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

Usage

Here is a sample aspectwerkz.xml file:

Code Block
xml
xml

<aspectwerkz>
  <system id="aspectwerkz-aware">
    <package name="org.codehaus.aware.jmx">
      <aspect class="MX4JAspect">
        <param name="connectorURL" value="service:jmx:rmi://localhost/jndi/jrmp"/>
        <param name="httpAdaptorName" value="Server:httpAdaptorName=HttpAdaptor"/>
        <param name="httpAdaptorHost" value="localhost"/>
        <param name="httpAdaptorPort" value="8082"/>
        <param name="httpProcessorName" value="Server:processorName=Processor"/>
        <pointcut name="initApp" expression="execution(* junit.framework.TestSuite.run(..))"/>
      </aspect>
    </package>
  </system>
</aspectwerkz>