-
Feb 2nd, 2013, 03:30 AM
#1
Gateways and proxies
I am currently working on an application which uses some external Jars as "base frameworks" that force to use CGLIB proxies.
I am trying to use CGLIB proxy in Gateways but i dont know how to achieve this, I have seen this GatewayProxyFactoryBean constructor:
public GatewayProxyFactoryBean(Class<?> serviceInterface) {
Assert.notNull(serviceInterface, "'serviceInterface' must not be null");
Assert.isTrue(serviceInterface.isInterface(), "'serviceInterface' must be an interface");
this.serviceInterface = serviceInterface;
}
It's posible to use CGLIB proxy in this kind of object? In case i can not use CGLIB proxies, How can i deal mixing CGLIB y JDK proxies?
Thanks in advance.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules