if (securityConfig == null) {  securityConfig = dm.getDefaultSecurityConfiguration(); }
   public synchronized void startService() throws Exception   {      started = true;      if (serviceName != null)      {         name = serviceName.getKeyProperty("name");      }      if (name == null || name.length() == 0)      {         throw new IllegalStateException( "The " + (isQueue() ? "queue" : "topic") +                                          " name was not properly set in the service's ObjectName");      }      dm = (DestinationManager)server.getAttribute(serverPeerObjectName, "Instance");      jndiName = dm.registerDestination(isQueue(), name, jndiName, securityConfig);      if (securityConfig == null)      {         // refresh my security config to be identical with server's default         securityConfig = dm.getDefaultSecurityConfiguration();      }      log.info(this + " started");   }