org.jasypt.spring31.xml.encryption
Class EncryptorFactoryBean

Object
  extended by org.jasypt.spring31.xml.encryption.EncryptorFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean

public final class EncryptorFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean

Factory bean for creating encryptor objects from the encryption namespace elements. Do not use directly.

Since:
1.9.0
Author:
Daniel Fernández

Constructor Summary
EncryptorFactoryBean(int encryptorType)
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setAlgorithm(String algorithm)
           
 void setConfig(PBEConfig config)
           
 void setKeyObtentionIterations(Integer keyObtentionIterations)
           
 void setPassword(String password)
           
 void setPoolSize(Integer poolSize)
           
 void setProvider(Provider provider)
           
 void setProviderName(String providerName)
           
 void setSaltGenerator(SaltGenerator saltGenerator)
           
 void setSingleton(boolean singleton)
           
 void setStringOutputType(String stringOutputType)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptorFactoryBean

public EncryptorFactoryBean(int encryptorType)
Method Detail

setSingleton

public final void setSingleton(boolean singleton)

isSingleton

public final boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>

setAlgorithm

public void setAlgorithm(String algorithm)

setConfig

public void setConfig(PBEConfig config)

setKeyObtentionIterations

public void setKeyObtentionIterations(Integer keyObtentionIterations)

setPassword

public void setPassword(String password)

setPoolSize

public void setPoolSize(Integer poolSize)

setProvider

public void setProvider(Provider provider)

setProviderName

public void setProviderName(String providerName)

setSaltGenerator

public void setSaltGenerator(SaltGenerator saltGenerator)

setStringOutputType

public void setStringOutputType(String stringOutputType)

afterPropertiesSet

public final void afterPropertiesSet()
                              throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<Object>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>


Copyright © 2011 The JASYPT team. All Rights Reserved.