@Transactional(transactionManager="ticketTransactionManager") public class DefaultTicketRegistryCleaner extends java.lang.Object implements TicketRegistryCleaner, java.io.Serializable
DefaultTicketRegistryCleaner
.Constructor and Description |
---|
DefaultTicketRegistryCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
clean()
Clean the ticket registry by collecting
tickets in the storage unit that may be expired.
|
protected void |
cleanInternal()
Clean tickets.
|
int |
cleanTicket(Ticket ticket)
Cleans up after an already-expired ticket, by running the necessary processes
such as logout notifications and more.
|
protected boolean |
isCleanerSupported()
Indicates whether the registry supports automated ticket cleanup.
|
public void clean()
TicketRegistryCleaner
clean
in interface TicketRegistryCleaner
protected void cleanInternal()
public int cleanTicket(Ticket ticket)
TicketRegistryCleaner
cleanTicket
in interface TicketRegistryCleaner
ticket
- the ticketprotected boolean isCleanerSupported()
true
.