001 /* 002 * (c) 2003-2005, 2009, 2010 ThoughtWorks Ltd 003 * All rights reserved. 004 * 005 * The software in this package is published under the terms of the BSD 006 * style license a copy of which has been included with this distribution in 007 * the LICENSE.txt file. 008 * 009 * Created on 03-May-2004 010 */ 011 package com.thoughtworks.proxy.factory; 012 013 import com.thoughtworks.proxy.Invoker; 014 015 016 /** 017 * Interface to access the {@link Invoker} of the proxy. Every proxy generated by ProxyToys implements this interface. 018 * 019 * @author Aslak Hellesøy 020 * @since 0.1 021 */ 022 public interface InvokerReference { 023 /** 024 * Retrieve the Invoker instance from the proxy. 025 * 026 * @return the {@link Invoker} instance. 027 * @since 0.1 028 */ 029 Invoker getInvoker(); 030 }