org.surfnet.cruncher.message
Class Aggregator

java.lang.Object
  extended by org.surfnet.cruncher.message.Aggregator

@Component(value="aggregator")
public class Aggregator
extends Object


Constructor Summary
Aggregator()
           
 
Method Summary
 void aggregateLogin(List<LoginEntry> loginEntries)
          Use the given LoginEntries to aggregate data in the database.
static String aggregationRecordHash(LoginEntry le)
           
static String aggregationRecordHash(String userId, String spEntityId)
           
static String aggregationRecordHash(String idpEntityId, String spEntityId, Date loginDate)
           
 void run()
           
 void shutdownAggregator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aggregator

public Aggregator()
Method Detail

aggregationRecordHash

public static String aggregationRecordHash(LoginEntry le)

aggregationRecordHash

public static String aggregationRecordHash(String idpEntityId,
                                           String spEntityId,
                                           Date loginDate)

aggregationRecordHash

public static String aggregationRecordHash(String userId,
                                           String spEntityId)

run

public void run()

aggregateLogin

public void aggregateLogin(List<LoginEntry> loginEntries)
Use the given LoginEntries to aggregate data in the database. This will

Parameters:
loginEntries -

shutdownAggregator

@PreDestroy
public void shutdownAggregator()


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.