See gh-23480
This commit is contained in:
부종민
2019-08-18 13:20:10 +09:00
committed by Stephane Nicoll
parent 063233afb5
commit 18eed79d73

View File

@@ -3180,7 +3180,7 @@ following example shows:
public static void main(String[] args) {
ProxyFactory factory = new ProxyFactory(new SimplePojo());
factory.adddInterface(Pojo.class);
factory.addInterface(Pojo.class);
factory.addAdvice(new RetryAdvice());
factory.setExposeProxy(true);
@@ -3195,7 +3195,7 @@ following example shows:
----
fun main() {
val factory = ProxyFactory(SimplePojo())
factory.adddInterface(Pojo::class.java)
factory.addInterface(Pojo::class.java)
factory.addAdvice(RetryAdvice())
factory.isExposeProxy = true