com.mycorp.examples.timeservice
Interface ITimeService

All Known Implementing Classes:
TimeServiceImpl

public interface ITimeService

Example OSGi service for retrieving current time in milliseconds from January 1, 1970.


Method Summary
 java.lang.Long getCurrentTime()
          Get current time.
 

Method Detail

getCurrentTime

java.lang.Long getCurrentTime()
Get current time.

Returns:
Long current time in milliseconds since Jan 1, 1970. Will not return null.