public final class Providers extends Object
| Modifier and Type | Method and Description |
|---|---|
static CipherProvider |
cipherProvider(String transformation,
String preferredProvider,
int maxSize)
Gets a pre-configured Cipher provider that caches ciphers in a per-thread LRU cache.
|
static DocumentBuilderProvider |
documentBuilderProvider(int maxSize)
Gets a pre-configured DocumentBuilder provider that caches document builder instances in a per-thread LRU
cache.
|
static SAXParserProvider |
saxParserProvider(int maxSize)
Gets a pre-configured SAXParser provider that caches parser instances in a per-thread LRU cache.
|
static TransformerFactoryProvider |
transformerFactoryProvider(int maxSize)
Gets a basic TransformerFactory instance that can be used to create new Transformer objects.
|
public static CipherProvider cipherProvider(String transformation, String preferredProvider, int maxSize)
transformation - the cipher transformation algorithm.preferredProvider - the preferred cipher provider.maxSize - the maximum size of the per-thread cipher cache. Should be sized to match thread pool size.public static DocumentBuilderProvider documentBuilderProvider(int maxSize)
maxSize - the maximum size of the per-thread cache. Should be sized to match thread pool size.public static SAXParserProvider saxParserProvider(int maxSize)
maxSize - the maximum size of the per-thread cache. Should be sized to match thread pool size.public static TransformerFactoryProvider transformerFactoryProvider(int maxSize)
maxSize - The maximum size of the per-thread cache. Should be sized to match thread pool size.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.