edu.internet2.middleware.ldappc.spml
Class PSPCLI

java.lang.Object
  extended by java.util.TimerTask
      extended by edu.internet2.middleware.ldappc.spml.PSPCLI
All Implemented Interfaces:
Runnable

public class PSPCLI
extends TimerTask

Run the ProvisioningServiceProvider from the command line.


Constructor Summary
PSPCLI(PSPOptions options)
          Constructor.
 
Method Summary
static List<String> getAllCacheStats()
          Return ehcache statistics.
 PSP getPSP()
          Return the PSP.
 Timer getTimer()
          Get the timer
static void main(String[] args)
          Run this application.
 void run()
          Print SPML Responses for every SPML Request.
 void schedule()
          Schedule this TimerTask.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSPCLI

public PSPCLI(PSPOptions options)
       throws org.opensaml.util.resource.ResourceException,
              IOException
Constructor. Load the PSP based on the given PSPOptions.

Parameters:
options - the PSPOptions
Throws:
org.opensaml.util.resource.ResourceException - if the PSP could not be instantiated
IOException - if output cannot be written
Method Detail

main

public static void main(String[] args)
Run this application.

Parameters:
args - the command line arguments

run

public void run()
Print SPML Responses for every SPML Request.

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

schedule

public void schedule()
Schedule this TimerTask.


getPSP

public PSP getPSP()
Return the PSP.

Returns:
the PSP.

getTimer

public Timer getTimer()
Get the timer

Returns:
the Timer

getAllCacheStats

public static List<String> getAllCacheStats()
Return ehcache statistics.


Copyright © 2011 Internet2. All Rights Reserved.