KeyPair-s an re-loads it whenever a change has been sensed in the monitored file (if
it exists)
| Modifier and Type | Field and Description |
|---|---|
| private KeyPairResourceLoader | |
| protected final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FileWatcherKeyPairResourceLoader(Path file, KeyPairResourceLoader delegateLoader, LinkOption... options)
|
| Modifier and Type | Method and Description |
|---|---|
| public KeyPairResourceLoader | |
| public Collection | loadKeyPairs(SessionContext
The session, NamedResource SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).A hint as to the origin of the text lines resourceKey, FilePasswordProvider The passwordProvider, List<String> FilePasswordProvider to use in case the data is encrypted - may be
null if no encrypted data is expectedThe lines)List of lines as read from the resourceImplements org. Loads key pairs from the given resource text lines |
| protected Collection | reloadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, List<String> lines)
|
| public void |
| delegateLoader | back to summary |
|---|---|
| private KeyPairResourceLoader delegateLoader | |
| keysHolder | back to summary |
|---|---|
| protected final AtomicReference<Collection<KeyPair>> keysHolder | |
| FileWatcherKeyPairResourceLoader | back to summary |
|---|---|
| public FileWatcherKeyPairResourceLoader(Path file, KeyPairResourceLoader delegateLoader) | |
| FileWatcherKeyPairResourceLoader | back to summary |
|---|---|
| public FileWatcherKeyPairResourceLoader(Path file, KeyPairResourceLoader delegateLoader, LinkOption... options) | |
| getKeyPairResourceLoader | back to summary |
|---|---|
| public KeyPairResourceLoader getKeyPairResourceLoader() | |
| loadKeyPairs | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Loads key pairs from the given resource text lines
| |
| reloadKeyPairs | back to summary |
|---|---|
| protected Collection | |
| setKeyPairResourceLoader | back to summary |
|---|---|
| public void setKeyPairResourceLoader(KeyPairResourceLoader loader) | |