net.jini.jeri.ssl
Class Utilities.Value
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference
com.sun.jini.collection.WeakSoftTable.SoftValue
net.jini.jeri.ssl.Utilities.Value
- All Implemented Interfaces:
- WeakSoftTable.RemovableReference
- Enclosing class:
- Utilities
private static final class Utilities.Value
- extends WeakSoftTable.SoftValue
Used to store a soft reference to a SSLContext and the associated
AuthManager in the SSL context map.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authManager
final AuthManager authManager
Utilities.Value
Utilities.Value(Utilities.ServerKey key,
SSLContext sslContext,
AuthManager authManager)
- Creates a value for the associated key containing the specified SSL
context and auth manager.
Utilities.Value
private Utilities.Value(Utilities.Value value,
ReferenceQueue queue)
- Copies the value to the queue.
copy
public WeakSoftTable.RemovableReference copy(ReferenceQueue queue)
- Description copied from interface:
WeakSoftTable.RemovableReference
- Returns a copy of this instance registered with the specified queue.
- Specified by:
copy
in interface WeakSoftTable.RemovableReference
- Overrides:
copy
in class WeakSoftTable.SoftValue
- Parameters:
queue
- the queue with which this instance should be registered
- Returns:
- the copy
getSSLContext
SSLContext getSSLContext()
- Returns the SSL context.
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.