jrat.xml 1.77 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
<?xml version="1.0" encoding="UTF-8"?>
<jrat>
    <!-- ********************************************************************
    **  Java Runtime Analysis Toolkit Configuration                        **
    **  sample, default configuration file - modify as need                **
    **  Author : Jeff Drost                                                **
    ********************************************************************* -->

    <settings>
        <property name="httpServerEnabled" value="true"/>
    </settings>

    <!--
     A profile defines a set of handlers and the criteria that must
     be satisfied in order for a method to be monitored with those handlers.
     In a single configuration file you can have multiple profile.
    -->

    <profile name="my code">

        <criteria>

            <!--
            A profile's handlers are used if any of the includes are
            satisfied and none of the excludes are.

            ( includeA or includeB... ) and ( not( excludeA or excludeB... ) )
            -->

            <!--
            <include className="*" methodName="*" signature="*"/>
            <exclude className="*" methodName="*" signature="*"/>
            -->

            <include/>

        </criteria>

        <handlers>

            <!--
            The Tree Method Handler is the general purpose included method handler,
            but you can choose to write your own.  Simply implement MethodHandlerFactory
            and get ready to receieve runtime events.
            -->
            <handler factory="org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory">
                <property name="outputFile" value="my_code_tree.jrat"/>
            </handler>

        </handlers>

    </profile>

</jrat>