lumis.portal.service
Class GenericServiceClock
java.lang.Object
lumis.portal.service.GenericServiceClock
- All Implemented Interfaces:
- IServiceClock
- Direct Known Subclasses:
- ChatClock, ContentClock, DeleteExpiredDurableMessagesClock, LockClock, MailMarketingClock, MonitorConsolidationClock, NewsletterClock, SendMailClock, SessionClock
@StableMinor(version="5.5",
sinceVersion="4.0")
public abstract class GenericServiceClock
- extends Object
- implements IServiceClock
Generic implementation of the IServiceClock
interface.
Implements the getNextScheduleTime(SessionConfig, ClockConfig, ITransaction)
method of
the IServiceClock interface, so that it obeys to the configuration values
specified in the ClockConfig
.
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericServiceClock
public GenericServiceClock()
getNextScheduleTime
public Date getNextScheduleTime(SessionConfig sessionConfig,
ClockConfig clockConfig,
ITransaction transaction)
throws ServiceException,
PortalException
- Description copied from interface:
IServiceClock
- Returns the scheduled date-time for the next execution of a clock.
- Specified by:
getNextScheduleTime
in interface IServiceClock
- Parameters:
sessionConfig
- the user session information.clockConfig
- the clock.transaction
- the transaction for persistence access.
- Returns:
- the date-time for next scheduled execution.
- Throws:
ServiceException
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.