Class CoherencePublisherProxyFactoryBean
java.lang.Object
com.oracle.coherence.spring.messaging.CoherencePublisherProxyFactoryBean
- All Implemented Interfaces:
Advice,Interceptor,MethodInterceptor,Aware,BeanClassLoaderAware,DisposableBean,FactoryBean<Object>
public class CoherencePublisherProxyFactoryBean
extends Object
implements FactoryBean<Object>, MethodInterceptor, BeanClassLoaderAware, DisposableBean
Generates a proxy for the provided,
CoherencePublisher annotated, interface.- Since:
- 3.0
- Author:
- Vaso Putica, Gunnar Hillert
-
Field Summary
FieldsFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Class<?>invoke(MethodInvocation invocation) protected voidonInit()voidsetBeanClassLoader(ClassLoader classLoader) voidsetMaxBlock(String maxBlock) voidsetProxyDefaultMethods(boolean proxyDefaultMethods) Indicate ifdefaultmethods on the interface should be proxied as well.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
logger
-
-
Constructor Details
-
CoherencePublisherProxyFactoryBean
-
-
Method Details
-
setMaxBlock
-
setProxyDefaultMethods
public void setProxyDefaultMethods(boolean proxyDefaultMethods) Indicate ifdefaultmethods on the interface should be proxied as well.- Parameters:
proxyDefaultMethods- the boolean flag to proxy default methods
-
invoke
- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceBeanClassLoaderAware
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<Object>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<Object>
-
onInit
protected void onInit() -
destroy
public void destroy()- Specified by:
destroyin interfaceDisposableBean
-