if (uriPattern != null)
uriMatcher = Pattern.compile(uriPattern).matcher("");
else
uriMatcher = null;
InvocationMatcher matcher = new InvocationMatcher() {
public boolean isMatch(Invocation invocation)
{
if (hostMatcher != null) {
hostMatcher.reset(invocation.getHost());
if (! hostMatcher.find()) {