org.szegedi.spring.crypto.support
Class ProviderBasedFactory

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by org.szegedi.spring.crypto.support.ProviderBasedFactory
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
GeneratedKeyPairFactory, GeneratedSecretKeyFactory, KeySpecSecretKeyFactory, KeyStoreKeyPairFactory, SecureRandomFactory

public abstract class ProviderBasedFactory
extends org.springframework.beans.factory.config.AbstractFactoryBean

Base class for all factory beans that can take a security provider name.

Version:
$Id: ProviderBasedFactory.java 10 2006-05-16 09:49:48Z szegedia $
Author:
Attila Szegedi

Field Summary
protected  java.lang.String provider
           
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
ProviderBasedFactory()
           
 
Method Summary
 void setProvider(java.lang.String provider)
          Sets the name of the security provider.
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, createInstance, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

provider

protected java.lang.String provider
Constructor Detail

ProviderBasedFactory

public ProviderBasedFactory()
Method Detail

setProvider

public void setProvider(java.lang.String provider)
Sets the name of the security provider. If not set, uses the default security provider.

Parameters:
provider - the name of the security provider or null for the default provider.