Manages a pool of connectors for use by a provisioner.
Exemplo n.º 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);
 }
Exemplo n.º 2
0
 /// <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;
     }
 }
Exemplo n.º 3
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;
 }