org.openpermis.builder
Class SystemClock

java.lang.Object
  extended by org.openpermis.builder.SystemClock
All Implemented Interfaces:
Clock

public final class SystemClock
extends Object
implements Clock

A clock service that returns time values using the system clock.

Since:
0.1.0

Field Summary
static Clock INSTANCE
          The system clock singleton.
 
Method Summary
 TimeStamp getTime()
          Returns the time at which a PDP should evaluate the next access decision.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final Clock INSTANCE
The system clock singleton.

Since:
0.1.0
Method Detail

getTime

public TimeStamp getTime()
Description copied from interface: Clock
Returns the time at which a PDP should evaluate the next access decision.

Specified by:
getTime in interface Clock
Returns:
a TimeStamp value.
Since:
0.1.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:10
Copyright (c) 2002-2007 Ergon Informatik AG