• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Banned on SO for this Java design pattern question

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy, recently I have had the opportunity to see a very unusual Java design pattern in action (if it is indeed a design pattern).

Attempts to Google this come up short.

The pattern in question is: an Abstract class that extends a Concrete class and implements Runnable.

The concrete class implements a couple of additional Interfaces.

The code I'm referencing is in a Java web app that is current production code and is running!

My question is twofold:

Is there a name or type of so-called Java design pattern that can be attached to the description above.

If this is a know design pattern what are the overwhelming reasons to use such a pattern or what are the advantages/disadvantages to using the pattern described above.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suppose you could call it a Decorator pattern. See this wikipedia entry.
reply
    Bookmark Topic Watch Topic
  • New Topic