lumis.portal.service
Class GenericServiceClock

Package class diagram package GenericServiceClock
java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface lumis.portal.clock.IServiceClock
CLOCK_TICK_SERVICE, CLOCK_TICK_SERVICE_INSTANCE, CLOCK_TICK_SERVICE_INTERFACE, CLOCK_TICK_SERVICE_INTERFACE_INSTANCE
 
Constructor Summary
GenericServiceClock()
           
 
Method Summary
 Date getNextScheduleTime(SessionConfig sessionConfig, ClockConfig clockConfig, ITransaction transaction)
          Returns the scheduled date-time for the next execution of a clock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lumis.portal.clock.IServiceClock
doTick
 

Constructor Detail

GenericServiceClock

public GenericServiceClock()
Method Detail

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.