edu.internet2.middleware.ldappc.spml
Class PSPDiffer

java.lang.Object
  extended by edu.internet2.middleware.ldappc.spml.PSPDiffer

public class PSPDiffer
extends Object

This class, which diffs SPML Provisioning Service Objects, suffers from a lack of a thoroughly considered design. Most methods existed previously in the Provisioning Service Provider, but were moved into their own class once the number of method arguments exceeded three. Easy to read diff logic is a must for a provisioner; this is an incomplete attempt. Perhaps the objects should diff themselves, since only they know their data.


Constructor Summary
PSPDiffer(PSP psp, DiffRequest diffRequest, DiffResponse diffResponse)
          Calculate the changes necessary to provision an object specified in the given DiffRequest.
 
Method Summary
 void diff()
          Process the DiffRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSPDiffer

public PSPDiffer(PSP psp,
                 DiffRequest diffRequest,
                 DiffResponse diffResponse)
Calculate the changes necessary to provision an object specified in the given DiffRequest.

Parameters:
psp - the ProvisioningServiceProvider
diffRequest - the DiffRequest to be processed
diffResponse - the result of the processing of the DiffRequest
Method Detail

diff

public void diff()
Process the DiffRequest. The result is the DiffResponse.



Copyright © 2011 Internet2. All Rights Reserved.