org.apache.commons.proxy.factory.util
Class AbstractProxyClassGenerator
java.lang.Object
org.apache.commons.proxy.factory.util.AbstractProxyClassGenerator
- All Implemented Interfaces:
- ProxyClassGenerator
public abstract class AbstractProxyClassGenerator
- extends Object
- implements ProxyClassGenerator
A useful superclass for ProxyClassGenerator
implementations.
- Since:
- 1.0
- Author:
- James Carman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProxyClassGenerator
public AbstractProxyClassGenerator()
getImplementationMethods
public static Method[] getImplementationMethods(Class[] proxyClasses)
- Returns all methods that a proxy class must implement from the proxy interfaces. This method makes sure there
are no method signature clashes. For methods with the same signature (name and parameter types), the one
encountered first will be returned in the result. Final methods are also excluded from the result.
- Parameters:
proxyClasses
- the interfaces the proxy class must implement
- Returns:
- all methods that the proxy class must implement
Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.