Package org.apache.wicket.util.crypt
Class CryptFactoryCachingDecorator
- java.lang.Object
-
- org.apache.wicket.util.crypt.CryptFactoryCachingDecorator
-
- All Implemented Interfaces:
ICryptFactory
- Direct Known Subclasses:
CachingSunJceCryptFactory
public class CryptFactoryCachingDecorator extends Object implements ICryptFactory
ICryptFactory
decorator that caches the call toICryptFactory.newCrypt()
- Author:
- Igor Vaynberg (ivaynberg)
-
-
Constructor Summary
Constructors Constructor Description CryptFactoryCachingDecorator(ICryptFactory delegate)
Construct.
-
-
-
Constructor Detail
-
CryptFactoryCachingDecorator
public CryptFactoryCachingDecorator(ICryptFactory delegate)
Construct.- Parameters:
delegate
- the crypt factory whoseICryptFactory.newCrypt()
call will be cached
-
-
Method Detail
-
newCrypt
public final ICrypt newCrypt()
- Specified by:
newCrypt
in interfaceICryptFactory
- Returns:
- new crypt object
-
-