org.opensaml
Class ReplayCacheFactory

java.lang.Object
  extended byorg.opensaml.ReplayCacheFactory

public class ReplayCacheFactory
extends Object

Factory for the ReplayCache interface

Author:
Scott Cantor

Constructor Summary
ReplayCacheFactory()
           
 
Method Summary
static ReplayCache getInstance()
          Obtains a default provider of the ReplayCache interface
static ReplayCache getInstance(Element e)
          Obtains a default provider of the ReplayCache interface
static ReplayCache getInstance(Element e, String provider)
          Obtains a specific provider of the ReplayCache interface
static ReplayCache getInstance(String provider)
          Obtains a specific provider of the ReplayCache interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplayCacheFactory

public ReplayCacheFactory()
Method Detail

getInstance

public static ReplayCache getInstance()
                               throws NoSuchProviderException
Obtains a default provider of the ReplayCache interface

Returns:
The ReplayCache provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static ReplayCache getInstance(String provider)
                               throws NoSuchProviderException
Obtains a specific provider of the ReplayCache interface

Parameters:
provider - Name of the provider class to build
Returns:
The ReplayCache provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static ReplayCache getInstance(Element e)
                               throws NoSuchProviderException
Obtains a default provider of the ReplayCache interface

Parameters:
e - A DOM element as input to configuring the provider
Returns:
The ReplayCache provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static ReplayCache getInstance(Element e,
                                      String provider)
                               throws NoSuchProviderException
Obtains a specific provider of the ReplayCache interface

Parameters:
e - A DOM element as input to configuring the provider
provider - Name of the provider class to build
Returns:
The ReplayCache provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface


Copyright ? 2005 UCAID. All Rights Reserved.