ProxyClassGenerator
implementations.ProxyFactory
implementation, primarily providing implementations of the interface methods that
are typically convenience constructs over the other methods.AbstractProxyFactory
for implementations that permit the generation of proxies with a specific
inheritance hierarchy.BaseTrainer
instance.Class.newInstance()
to instantiate an object.proxyClasses
are interfaces.proxyClasses
.ProxyFactory
is capable of creating a proxy for the specified set of classes.clone()
(reflectively) on the given Cloneable
object.Cloneable
object.Interceptor
which always returns a constant value (for all methods).input
to buffer
.delegateProvider
.delegateProvider
.delegateProvider
.interceptor
before eventually reaching the
target
object.interceptor
before eventually reaching the
target
object.interceptor
before eventually reaching the
target
object.Invoker
to handle all method invocations.Invoker
to handle all method invocations.Invoker
to handle all method invocations.DeclaredByMatcher.DeclaredByMatcher(Class, boolean)
(declaredByType, false)
DeclaredByMatcher
instance.ObjectProvider
.ClassLoader
and proxy classes.Class
objects representing all interfaces implemented by the given class and its
superclasses.ProxyClassGenerator
using the specified ClassLoader
and
array of proxy classes.Object
if all of the proxyClasses
are interfaces or the single non-interface
class from proxyClasses
.Invocation
.Interceptor
.InvocationHandler
interface to Commons Proxy's Invoker
interface.InvocationMatcher
is used to conditionally match Invocation
objects based on some criteria such as
method name, parameter values, etc.InvocationRecorder
records method invocations against its generated proxies.Invoker
when they encounter an error.Invoker
to the Interceptor
interface.Interceptor
that delegates to the specified Invoker
.Object.equals(Object)
.Object.hashCode()
.MethodNameMatcher
simply checks to see that the method name of the invocation matches the target method
name given in the constructor.Invoker
implementation which merely returns null for all method invocations.ObjectProvider
implementations should throw this exception type to indicate that
there was a problem creating/finding the object.String.format(String, Object...)
for the message.String.format(String, Object...)
for the message.ObjectProviderInterceptor
merely returns the value returned from
ObjectProvider.getObject()
.ProxyFactory
implementations create Serializable
proxies;
however it is not always possible or practical to serialize the complete structure of a given proxy object.ProxyFactory
-generated proxy objects.Interceptor
which returns the resulting object from an object provider (for all methods).provider
.genericType
.ProxyClassGenerator
.ProxyFactory
that delegates to discoverable ProxyFactory
service providers.proxy factories
when a problem
occurs.Object readResolve()
method used by Java deserialization.Serializable
.InvocationRecorder
.Interceptor
which throws a specific exception (for all methods).Interceptor
which throws the exception provided by an object provider (for all methods).proxyClasses
transformed into an array of only the interface classes.Object writeReplace()
method used by Java deserialization.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.