Class ExpiredSessionRemover<SC,MV,AV,LC>
- java.lang.Object
-
- org.wildfly.clustering.web.infinispan.session.ExpiredSessionRemover<SC,MV,AV,LC>
-
- Type Parameters:
SC- the ServletContext specification typeMV- the meta-data value typeAV- the attributes value typeLC- the local context type
- All Implemented Interfaces:
org.wildfly.clustering.ee.Remover<String>,org.wildfly.clustering.Registrar<org.wildfly.clustering.web.session.SessionExpirationListener>
public class ExpiredSessionRemover<SC,MV,AV,LC> extends Object implements org.wildfly.clustering.ee.Remover<String>, org.wildfly.clustering.Registrar<org.wildfly.clustering.web.session.SessionExpirationListener>
Session remover that removes a session if and only if it is expired.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ExpiredSessionRemover(SessionFactory<SC,MV,AV,LC> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.wildfly.clustering.Registrationregister(org.wildfly.clustering.web.session.SessionExpirationListener listener)booleanremove(String id)
-
-
-
Constructor Detail
-
ExpiredSessionRemover
public ExpiredSessionRemover(SessionFactory<SC,MV,AV,LC> factory)
-
-
Method Detail
-
remove
public boolean remove(String id)
- Specified by:
removein interfaceorg.wildfly.clustering.ee.Remover<SC>
-
register
public org.wildfly.clustering.Registration register(org.wildfly.clustering.web.session.SessionExpirationListener listener)
- Specified by:
registerin interfaceorg.wildfly.clustering.Registrar<SC>
-
-