org.apache.wicket.util.crypt
Class CryptFactoryCachingDecorator
java.lang.Object
org.apache.wicket.util.crypt.CryptFactoryCachingDecorator
- All Implemented Interfaces:
- ICryptFactory
- Direct Known Subclasses:
- CachingSunJceCryptFactory, NoCryptFactory
public class CryptFactoryCachingDecorator
- extends Object
- implements ICryptFactory
ICryptFactory
decorator that caches the call to ICryptFactory.newCrypt()
- Author:
- Igor Vaynberg (ivaynberg)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CryptFactoryCachingDecorator
public CryptFactoryCachingDecorator(ICryptFactory delegate)
- Construct.
- Parameters:
delegate
- the crypt factory whose ICryptFactory.newCrypt()
call will be cached
newCrypt
public final ICrypt newCrypt()
- Specified by:
newCrypt
in interface ICryptFactory
- Returns:
- new crypt object
- See Also:
ICryptFactory.newCrypt()
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.