org.perfectjpattern.core.behavioral.observer
Class AntiqueClock

java.lang.Object
  extended by org.perfectjpattern.core.behavioral.observer.AntiqueClock

public final class AntiqueClock
extends Object

Antique Clock is introduced as example use-case where you want to target as Observer a third-party library for which there is no access to its source code and therefore it can't be modified to implement IObserver i.e. not possible to abstract couple it to PerfectJPattern's

Version:
$Revision: 1.0 $Date: Jun 16, 2008 10:36:05 PM $
Author:
Giovanni Azua
 

Method Summary
static void displayTime(Date aDate)
           
protected static void setLogger(org.slf4j.Logger aLogger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

displayTime

public static void displayTime(Date aDate)

setLogger

protected static void setLogger(org.slf4j.Logger aLogger)


Copyright © 2007-2009. All Rights Reserved.