Skip to content

Commit 516b127

Browse files
committed
Improved Facade Javadoc
1 parent 584a222 commit 516b127

File tree

1 file changed

+8
-2
lines changed
  • facade/src/main/java/com/iluwatar/facade

1 file changed

+8
-2
lines changed

facade/src/main/java/com/iluwatar/facade/App.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
/**
44
*
5-
* Facade ({@link DwarvenGoldmineFacade}) provides simpler interface to subsystem.
5+
* The Facade design pattern is often used when a system is very complex or difficult
6+
* to understand because the system has a large number of interdependent classes or
7+
* its source code is unavailable. This pattern hides the complexities of the larger
8+
* system and provides a simpler interface to the client. It typically involves a single
9+
* wrapper class which contains a set of members required by client. These members access
10+
* the system on behalf of the facade client and hide the implementation details.
611
* <p>
7-
* http://en.wikipedia.org/wiki/Facade_pattern
12+
* In this example the Facade is ({@link DwarvenGoldmineFacade}) and it provides a simpler
13+
* interface to the goldmine subsystem.
814
*
915
*/
1016
public class App {

0 commit comments

Comments
 (0)