public enum PdxInstanceMethodInterceptorFactory extends Enum<PdxInstanceMethodInterceptorFactory> implements MethodInterceptorFactory
PdxInstanceMethodInterceptorFactory
class is a Spring Data MethodInterceptorFactory
used to
identify PdxInstance
types and instantiates an instance of the PdxInstanceMethodInterceptor
in order to intercept and handle invocations on the PdxInstance
for the proxied projection.MethodInterceptor
,
PdxInstance
,
PdxInstanceMethodInterceptor
,
MethodInterceptorFactory
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
MethodInterceptor |
createMethodInterceptor(Object source,
Class<?> targetType) |
boolean |
supports(Object source,
Class<?> targetType) |
static PdxInstanceMethodInterceptorFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdxInstanceMethodInterceptorFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdxInstanceMethodInterceptorFactory INSTANCE
public static PdxInstanceMethodInterceptorFactory[] values()
for (PdxInstanceMethodInterceptorFactory c : PdxInstanceMethodInterceptorFactory.values()) System.out.println(c);
public static PdxInstanceMethodInterceptorFactory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MethodInterceptor createMethodInterceptor(Object source, Class<?> targetType)
createMethodInterceptor
in interface MethodInterceptorFactory
public boolean supports(Object source, Class<?> targetType)
supports
in interface MethodInterceptorFactory
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.