Content deleted Content added
→Diagram arrows incorrect?: new section |
Tag: |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1:
{{WikiProject
{{WikiProject Java|auto=inherit|importance=low}} {{WikiProject Computing
{{WikiProject Computer science
}}
==proxy==
Isn't the Firewall proxy the same as Protection proxy? no[[User:91.186.200.21|91.186.200.21]] 12:51, 11 November 2007 (UTC)
Line 7 ⟶ 10:
== ProxyImage code is overengineered ==
<
import java.util.*;
Line 41 ⟶ 44:
}
}
</syntaxhighlight>
The proxy pattern isn't needed at all!!! [[User:Diegofd|Diegofd]] ([[User talk:Diegofd|talk]]) 16:11, 16 May 2008 (UTC)
Line 53 ⟶ 56:
== Diagram arrows incorrect? ==
I think the "extends" arrows from both RealSubject and Proxy to Subject interface should be dotted/dashed and not solid. Solid indicates "is a"/generalisation for use in sub-classing of classes or abstract classes, dotted/dashed indicates implementation/realisation of an interface. And note, you can not sub-class an interface. 14:08, 13 April 2012 (UTC) <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/78.105.136.120|78.105.136.120]] ([[User talk:78.105.136.120|talk]]) </span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
== The example does not seem to demonstrate this pattern ==
This seems like more of a Lazy Initialization pattern than anything else. If it were a true Proxy, wouldn't the RealImage be defined beforehand and passed to the Proxy? The Proxy shouldn't know the filename or be able to create the RealImage. Or am I missing something? - [[User:TheSOB|TheSOB]] ([[User talk:TheSOB|talk]]) 17:54, 25 September 2013 (UTC)
== Copyright violation? ==
The usage and scenario sections are the same as http://www.dotnetexamples.com/2013/07/proxy-design-pattern.html [[Special:Contributions/217.155.35.160|217.155.35.160]] ([[User talk:217.155.35.160|talk]]) 12:01, 22 December 2014 (UTC)
|