public class TimerBean extends Object implements TimerBeanRemote, Serializable
TimerBean is an implementation of the remote interface that cleans the database of all expired entities.| Constructor and Description |
|---|
TimerBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
startTimer()
Start the timer that removes expired entities from the database.
|
void |
timeout(javax.ejb.Timer timer)
Remove expired tokens, expired exclusive access and expired user roles assignments.
|
public void startTimer()
TimerBeanRemotestartTimer in interface TimerBeanRemotepublic void timeout(javax.ejb.Timer timer)
timer - the timerCopyright © 2023 European Spallation Source. All rights reserved.