public class GemfireFunctionProxyFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Object>, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.BeanClassLoaderAware
Method
,
MethodInterceptor
,
BeanClassLoaderAware
,
FactoryBean
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
GemfireFunctionProxyFactoryBean(Class<?> functionExecutionInterface,
GemfireFunctionOperations gemfireFunctionOperations) |
Modifier and Type | Method and Description |
---|---|
protected GemfireFunctionOperations |
getGemfireFunctionOperations() |
Object |
getObject() |
Class<?> |
getObjectType() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected Object |
invokeFunction(Method method,
Object[] args) |
boolean |
isSingleton() |
protected void |
onInit() |
void |
setBeanClassLoader(ClassLoader classLoader) |
public GemfireFunctionProxyFactoryBean(Class<?> functionExecutionInterface, GemfireFunctionOperations gemfireFunctionOperations)
functionExecutionInterface
- the proxied interfacegemfireFunctionOperations
- an interface used to delegate the function invocation (typically a GemFire function template)protected GemfireFunctionOperations getGemfireFunctionOperations()
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Object>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<Object>
protected void onInit()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.