Exemple #1
0
 public ObjectName PreRegister(IMBeanServer server, ObjectName name)
 {
     if (_inner != null)
     {
         try
         {
             return(_inner.PreRegister(server, name));
         }
         catch (Exception ex)
         {
             if (ex is SecurityException)
             {
                 throw;
             }
             throw new MBeanRegistrationException("PreRegister.", ex);
         }
     }
     else
     {
         return(name);
     }
 }