public static PolicyManager GetInstance(IZone zone)
 {
     lock (getInstanceLock) {
         if (sInstance == null)
         {
             sInstance = (PolicyManager)ObjectFactory.GetInstance().CreateInstance(ObjectFactory.ADKFactoryType.POLICY_MANAGER, zone.Agent);
         }
         return sInstance;
     }
 }
Exemple #2
0
 public static PolicyManager GetInstance(IZone zone)
 {
     lock (getInstanceLock) {
         if (sInstance == null)
         {
             sInstance = (PolicyManager)ObjectFactory.GetInstance().CreateInstance(ObjectFactory.ADKFactoryType.POLICY_MANAGER, zone.Agent);
         }
         return(sInstance);
     }
 }
 /// <summary>
 /// Unloads the singleton instance of the PolicyManager
 /// </summary>
 public static void UnloadInstance()
 {
     sInstance = null;
 }
Exemple #4
0
 /// <summary>
 /// Unloads the singleton instance of the PolicyManager
 /// </summary>
 public static void UnloadInstance()
 {
     sInstance = null;
 }