Package com.sun.jdmk.internal

Examples of com.sun.jdmk.internal.ClassLogger


    //
    ClassLogger makeLogger(String dbgTag)
  throws IllegalArgumentException {
  switch (infoType) {
  case RMI_TYPE:
      return new ClassLogger(ClassLogger.LOGGER_LEGACY_RMI,dbgTag);
  case HTTP_TYPE:
      return new ClassLogger(ClassLogger.LOGGER_LEGACY_HTTP,dbgTag);
  case HTML_TYPE:
      return new ClassLogger(ClassLogger.LOGGER_ADAPTOR_HTML,dbgTag);
        case SNMP_TYPE:
      return new ClassLogger(ClassLogger.LOGGER_ADAPTOR_SNMP,dbgTag);
        case HTTPS_TYPE:
      return new ClassLogger(ClassLogger.LOGGER_LEGACY_HTTPS,dbgTag);
        default:
            throw new IllegalArgumentException("Invalid connector Type") ;
        }
    }
View Full Code Here


        return "ClientHandler[" + adaptorServer.getProtocol() + ":" +
      adaptorServer.getPort() + "][" + requestId + "]";
    }

    ClassLogger makeLogger(String dbgTag) {
  return new ClassLogger(ClassLogger.LOGGER_ADAPTOR_HTML, dbgTag);
    }
View Full Code Here

      throw new IllegalArgumentException("Null url.");
  }

  address = serviceURL;

  logger = new ClassLogger(ClassLogger.LOGGER_LEGACY_SERVER_WRAPPER,
         "JDMKClientConnector-"+address.getProtocol());

  if (logger.finerOn()) {
      logger.fine("Constructor",
      "Construct a JDMK legacy connector server wrapper: " +
View Full Code Here

    public HtmlPage(MBeanServer f, boolean r, boolean w) {
        htmlPage = new StringBuffer();
        mbs = f;
        readPerm = r;
        writePerm = w;
  logger = new ClassLogger(ClassLogger.LOGGER_ADAPTOR_HTML,
         this.getClass());
    }
View Full Code Here

        }

  this.address = serviceURL;
  final String protocol = address.getProtocol();

  logger = new ClassLogger(ClassLogger.LOGGER_LEGACY_CLIENT_WRAPPER,
         "JDMKClientConnector-"+protocol);

  if (logger.fineOn()) {
      logger.fine("Constructor", "Construct a JDMK legacy connector wrapper: "+address);
  }
View Full Code Here

                                              serverNotificationDispatcher,
                                          HeartBeatServerHandler
                                              heartbeatServerHandler)
            throws RemoteException {

        logger = new ClassLogger(ClassLogger.LOGGER_LEGACY_RMI,
                                 ClassLogger.getClassName(this.getClass()));

        // NPCTE fix for bugId 4770217, esc 541597, MR, Oct 2002
        if (System.getProperty("jdmk.hostname")!=null)
            host = System.getProperty("jdmk.hostname");
View Full Code Here

TOP

Related Classes of com.sun.jdmk.internal.ClassLogger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.