com.mycorp.examples.timeservice.host
Class TimeServiceImpl

java.lang.Object
  extended by com.mycorp.examples.timeservice.host.TimeServiceImpl
All Implemented Interfaces:
ITimeService

public class TimeServiceImpl
extends java.lang.Object
implements ITimeService


Constructor Summary
TimeServiceImpl()
           
 
Method Summary
 java.lang.Long getCurrentTime()
          Implementation of my time service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeServiceImpl

public TimeServiceImpl()
Method Detail

getCurrentTime

public java.lang.Long getCurrentTime()
Implementation of my time service.

Specified by:
getCurrentTime in interface ITimeService
Returns:
Long current time in milliseconds since Jan 1, 1970. Will not return null.