public class GemfireFunctionProxyFactoryBean extends Object implements FactoryBean<Object>, org.aopalliance.intercept.MethodInterceptor, BeanClassLoaderAware
| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
beanClassLoader |
protected GemfireFunctionOperations |
gemfireFunctionOperations |
protected org.apache.commons.logging.Log |
logger |
protected Class<?> |
serviceInterface |
protected Object |
serviceProxy |
| Constructor and Description |
|---|
GemfireFunctionProxyFactoryBean(Class<?> serviceInterface,
GemfireFunctionOperations gemfireFunctionOperations) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected volatile ClassLoader beanClassLoader
protected final Class<?> serviceInterface
protected volatile Object serviceProxy
protected org.apache.commons.logging.Log logger
protected final GemfireFunctionOperations gemfireFunctionOperations
public GemfireFunctionProxyFactoryBean(Class<?> serviceInterface, GemfireFunctionOperations gemfireFunctionOperations)
serviceInterface - the proxied interfacegemfireFunctionOperations - an interface used to delegate the function invocation (typically a GemFire function template)public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface BeanClassLoaderAwarepublic Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic Object getObject() throws Exception
getObject in interface FactoryBean<Object>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<Object>public boolean isSingleton()
isSingleton in interface FactoryBean<Object>protected void onInit()