/// <summary> /// Get the singleton instance of the <see cref="ConnectorFacadeFactory" />. /// </summary> public static ConnectorFacadeFactory GetInstance() { lock (LOCK) { if (_instance == null) { SafeType <ConnectorFacadeFactory> t = FrameworkInternalBridge.LoadType <ConnectorFacadeFactory>(IMPL_NAME); _instance = t.CreateInstance(); } } return(_instance); }
/// <summary> /// Get the singleton instance of the <see cref="EncryptorFactory" />. /// </summary> public static EncryptorFactory GetInstance() { lock (LOCK) { if (_instance == null) { Type type = FrameworkInternalBridge.LoadType(IMPL_NAME); _instance = (EncryptorFactory)Activator.CreateInstance(type); } return(_instance); } }
/// <summary> /// Get the singleton instance of the <see cref="Org.IdentityConnectors.Framework.Common.Serializer.ObjectSerializerFactory" />. /// </summary> public static ObjectSerializerFactory GetInstance() { lock (LOCK) { if (_instance == null) { SafeType <ObjectSerializerFactory> t = FrameworkInternalBridge.LoadType <ObjectSerializerFactory>(IMPL_NAME); _instance = t.CreateInstance(); } return(_instance); } }