You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
자바 언어에서 다형성은 인터페이스나 클래스를 구분하지 않고 모두 적용된다. 해당 타입과 그 타입의 하위
타입은 모두 다형성의 대상이 된다. 자바 언어의 너무 기본적인 내용을 이야기했지만, 인터페이스가 없어도 프록시가 가능하다는 것을 확실하게 깊고 넘어갈 필요가 있어서 자세히 설명했다.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
1️⃣4️⃣ 구체 클래스 기반 프록시 - 예제1
➡️ ConcreteLogic
➡️ ConcreteClient
➡️ConcreteProxyTest
1️⃣5️⃣ 구체 클래스 기반 프록시 - 예제2
➡️ TimeProxy
TimeProxy프록시는 시간을 측정하는 부가 기능을 제공한다. 그리고 인터페이스가 아니라 클래스인ConcreteLogic를 상속 받아서 만든다.➡️ConcreateClient
1️⃣6️⃣ 구체 클래스 기반 프록시 - 적용
➡️ OrderRepositoryConcreteProxy
➡️ OrderServiceConcreteProxy
➡️ OrderControllerConcreteProxy
➡️ OrderControllerConcreteProxy
1️⃣7️⃣ 인터페이스 기반 프록시와 클래스 기반 프록시
✅ 프록시
✅ 인터페이스 기반 프록시 VS 클래스 기반 프록시
Beta Was this translation helpful? Give feedback.
All reactions