Package org.proxy4j.core.reflect
Class BaseMethodExtractor
- java.lang.Object
-
- org.proxy4j.core.reflect.BaseMethodExtractor
-
- All Implemented Interfaces:
MethodExtractor
- Direct Known Subclasses:
MultitypeMethodExtractor,UnitypeMethodExtractor
public abstract class BaseMethodExtractor extends Object implements MethodExtractor
Abstract base class for method extractors.
- Author:
- Brennan Spies
-
-
Constructor Summary
Constructors Constructor Description BaseMethodExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetPackageName(Class<?> type)Returns the package name of the class.booleanisIncludeObjectMethods()True ifjava.lang.Objectmethods should be proxied.voidsetIncludeObjectMethods(boolean include)Determines whether or notjava.lang.Objectmethods should be proxied.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.proxy4j.core.reflect.MethodExtractor
getMethods, getProxyableMethods, getPublicMethods
-
-
-
-
Method Detail
-
isIncludeObjectMethods
public boolean isIncludeObjectMethods()
True ifjava.lang.Objectmethods should be proxied.- Specified by:
isIncludeObjectMethodsin interfaceMethodExtractor- Returns:
- True if Object methods should be proxied
-
setIncludeObjectMethods
public void setIncludeObjectMethods(boolean include)
Determines whether or notjava.lang.Objectmethods should be proxied.- Parameters:
include- True if Object methods shold be proxied
-
-