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
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Class<?>
invoke
(MethodInvocation invocation) protected void
onInit()
void
setBeanClassLoader
(ClassLoader classLoader) void
setMaxBlock
(String maxBlock) void
setProxyDefaultMethods
(boolean proxyDefaultMethods) Indicate ifdefault
methods 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, wait
Methods 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 ifdefault
methods on the interface should be proxied as well.- Parameters:
proxyDefaultMethods
- the boolean flag to proxy default methods
-
invoke
- Specified by:
invoke
in interfaceMethodInterceptor
- Throws:
Throwable
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<Object>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<Object>
-
onInit
protected void onInit() -
destroy
public void destroy()- Specified by:
destroy
in interfaceDisposableBean
-