Class Init
java.lang.Object
org.apache.xml.security.Init
This class does the configuration of the library. This includes creating
the mapping of Canonicalization and Transform algorithms. Initialization is
done by calling
init() which should be done in any static block
of the files of this library. We ensure that this call is only executed once.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static booleanField alreadyInitializedstatic final StringThe namespace for CONF fileprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidDynamically initialise the library by registering the default algorithms/implementationsprivate static voidfileInit(InputStream is) Initialise the library from a configuration filestatic voidinit()Method initstatic final booleanMethod isInitialized
-
Field Details
-
CONF_NS
-
LOG
private static final org.slf4j.Logger LOG -
alreadyInitialized
private static boolean alreadyInitializedField alreadyInitialized
-
-
Constructor Details
-
Init
public Init()
-
-
Method Details
-
isInitialized
public static final boolean isInitialized()Method isInitialized- Returns:
- true if the library is already initialized.
-
init
public static void init()Method init -
dynamicInit
private static void dynamicInit()Dynamically initialise the library by registering the default algorithms/implementations -
fileInit
Initialise the library from a configuration file
-