Package alt.jiapi.util

Examples of alt.jiapi.util.ChainBuilder


        String [] chainSpecs = tokenizeRules(chainSpec);
        if (chainSpecs.length == 0) {
            throw new JiapiException("Empty chainSpec");
        }

        ChainBuilder cb = new ChainBuilder();
        InstrumentorChain chain = cb.createChain(chainSpecs[0]);
        InstrumentationDescriptor id = new InstrumentationDescriptor();
        addInclusionRules(id, getInclusionRules());
        addExclusionRules(id, getExclusionRules());

        for (int i = 1; i < chainSpecs.length; i++) {
            id.addChain(cb.createChain(chainSpecs[i]));
        }


        ctx.addInstrumentationDescriptor(id);
    }
View Full Code Here

TOP

Related Classes of alt.jiapi.util.ChainBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.