final int[] anInt = new int[] { -1 };
if (proxyBranchListeners.size() > 0) {
// Create a dynamic proxy object that acts as a proxy for this ProcyBranch.
// calls to setProxyBranchTimeout are intercepted.
ProxyBranch proxyBranchDynamicProxy = (ProxyBranch) Proxy.newProxyInstance(getClass()
.getClassLoader(),
new Class[] { ProxyBranch.class },
new InvocationHandler() {
public Object invoke(Object proxy, Method method,
Object[] args) throws Throwable {