iaik.utils
Class ExtendedProvider
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--java.security.Provider
|
+--iaik.utils.ExtendedProvider
- Direct Known Subclasses:
- IAIK
- public abstract class ExtendedProvider
- extends Provider
The abstract ExtendedProvider class is identical to the standard provider class
except that upon retrieval it automatically checks if the referenced
class is actually available. If it is not, it is removed from the
provider and null is returned.
- See Also:
- Serialized Form
| Fields inherited from class java.util.Properties |
defaults |
|
Constructor Summary |
protected |
ExtendedProvider(java.lang.String name,
double version,
java.lang.String info)
Constructor for use by subclasses. |
|
Method Summary |
protected static boolean |
isAvailable(java.lang.String className)
Check if the class with the specified name is available |
protected void |
puta(java.lang.String id,
java.lang.String className)
Put Always. |
protected void |
putc(java.lang.String id,
java.lang.String className)
Put on condition. |
protected void |
putc(java.lang.String id,
java.lang.String className,
boolean condition)
Put on condition. |
| Methods inherited from class java.security.Provider |
clear,
entrySet,
getInfo,
getName,
getVersion,
keySet,
load,
put,
putAll,
remove,
toString,
values |
| Methods inherited from class java.util.Properties |
getProperty,
getProperty,
list,
list,
propertyNames,
save,
setProperty,
store |
| Methods inherited from class java.util.Hashtable |
clone,
contains,
containsKey,
containsValue,
elements,
equals,
get,
hashCode,
isEmpty,
keys,
rehash,
size |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
ExtendedProvider
protected ExtendedProvider(java.lang.String name,
double version,
java.lang.String info)
- Constructor for use by subclasses.
isAvailable
protected static boolean isAvailable(java.lang.String className)
- Check if the class with the specified name is available
puta
protected void puta(java.lang.String id,
java.lang.String className)
- Put Always. Same as put().
putc
protected void putc(java.lang.String id,
java.lang.String className)
- Put on condition. Only if the class className is available.
putc
protected void putc(java.lang.String id,
java.lang.String className,
boolean condition)
- Put on condition. Only if condition is true.