public interface MethodInterceptorFactory
MethodInterceptor
instances based on the given source object and the target type to produce. To
be registered with a ProxyProjectionFactory
to customize the way method executions on projection proxies are
handled.ProxyProjectionFactory
Modifier and Type | Method and Description |
---|---|
org.aopalliance.intercept.MethodInterceptor |
createMethodInterceptor(Object source,
Class<?> targetType)
Returns the
MethodInterceptor to be used for the given source object and target type. |
boolean |
supports(Object source,
Class<?> targetType)
Returns whether the current factory is supposed to be used to create a
MethodInterceptor for proxy of the
given target type. |
org.aopalliance.intercept.MethodInterceptor createMethodInterceptor(Object source, Class<?> targetType)
MethodInterceptor
to be used for the given source object and target type.source
- will never be null.targetType
- will never be null.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.