An open API service indexing awesome lists of open source software.

https://github.com/daggerok/proxy-pattern-example

Proxy Design Pattern java implementation
https://github.com/daggerok/proxy-pattern-example

design-pattern design-patterns proxy proxy-design-pattern proxy-pattern

Last synced: 7 months ago
JSON representation

Proxy Design Pattern java implementation

Awesome Lists containing this project

README

          

# Proxy [![Build Status](https://travis-ci.org/daggerok/proxy-pattern-example.svg?branch=master)](https://travis-ci.org/daggerok/proxy-pattern-example)
Proxy Design Pattern java implementation

```bash
./mvnw clean ; ./mvnw test -U
```

One of proxy pattern usage can be for example cached implementation:

```
+----------------------+ +--------+
| Gateway (shared API) |<----| Client |
+----------------------+ +--------+
^
|
+----------------+---------------+
| |
+-------------------------+ +----------------------------+
| GatewayImpl (immutable) | | GatewayCachedProxy (proxy) |
+-------------------------+ +----------------------------+
```