Manages a pool of connectors for use by a provisioner.
Exemple #1
0
 /// <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 stateful <seealso cref="ConnectorFacadeFactory"/>.
 /// </summary>
 /// <remarks>Since 1.4</remarks>
 public static ConnectorFacadeFactory GetManagedInstance()
 {
     lock (LOCK)
     {
         if (_managedInstance == null)
         {
             SafeType<ConnectorFacadeFactory> t = FrameworkInternalBridge.LoadType<ConnectorFacadeFactory>(IMPL_NAME_MANAGED);
             _managedInstance = t.CreateInstance();
         }
         return _managedInstance;
     }
 }
 /// <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;
 }