Tie

Java Method Interception

Quick Start Guide

This quick start guide will walk you through the necessary steps to add the tie method interception toolkit to your application.

Getting Tie

The tie toolkit can be downloaded from the tie website. It comes as one simple package, containing source code, documentation and jar fies.

Tie is not currently available from any Maven repositories.

Tie also depends on the AOP Alliance interfaces. A copy of aopalliance.jar is included in the tie package.

Installing

The tie package contains 3 jar files

  • net.sf.tie.jar
  • net.sf.tie.ext.jar
  • aopalliance.jar
You will need to add these three jars to your classpath[1]. If you are building a web application, this means you should put the jars in the WEB-INF/lib/ directory of your war file. If you are building another sort of application, then you will need to add them to the classpath as applicable for your application.

Tie includes some extensions to assist in integrating tie with the spring framework. If you wish to use these extensions then you will need to include the appropriate spring jar files on your classpath also. Typically this will be spring-core.jar, spring-beans.jar and commons-logging.jar.

Configuring

There are no configuration files for tie. Just add it to your classpath and start using it.

[1] Technically the "ext" jar is optional. This quick start guide will indicate when it is required, and when it is not.