public class GemfireFunctionProxyFactoryBean extends Object implements FactoryBean<Object>, org.aopalliance.intercept.MethodInterceptor, 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 BeanClassLoaderAware
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
public Object getObject() throws Exception
getObject
in interface FactoryBean<Object>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<Object>
public boolean isSingleton()
isSingleton
in interface FactoryBean<Object>
protected void onInit()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.