static {
   PRIMITIVE_TYPES.put(Boolean.TYPE.getName(), Boolean.TYPE);
   PRIMITIVE_TYPES.put(Character.TYPE.getName(), Character.TYPE);
   PRIMITIVE_TYPES.put(Byte.TYPE.getName(), Byte.TYPE);
   PRIMITIVE_TYPES.put(Short.TYPE.getName(), Short.TYPE);
   PRIMITIVE_TYPES.put(Integer.TYPE.getName(), Integer.TYPE);
   PRIMITIVE_TYPES.put(Long.TYPE.getName(), Long.TYPE);
   PRIMITIVE_TYPES.put(Float.TYPE.getName(), Float.TYPE);
   PRIMITIVE_TYPES.put(Double.TYPE.getName(), Double.TYPE);
   PRIMITIVE_TYPES.put(Void.TYPE.getName(), Void.TYPE);
 }
  @Override
  public MBeanInfo getMBeanInfo() {

    MBeanAttributeInfo[] attributes =
        new MBeanAttributeInfo[] {
          // TODO mnowa: add/correct attributes here
          new MBeanAttributeInfo(
              "Imei", String.class.getName(), "IMEI's digits string", true, true, false),
          new MBeanAttributeInfo(
              "MapProtocolVersion",
              MapProtocolVersion.class.getName(),
              "MAP protocol version",
              true,
              true,
              false),
          new MBeanAttributeInfo(
              "MapProtocolVersion_Value",
              String.class.getName(),
              "MAP protocol version",
              true,
              false,
              false),
          new MBeanAttributeInfo(
              "CheckImeiClientAction",
              CheckImeiClientAction.class.getName(),
              "The mode of CheckImeiClient work. When manual response user can manually send CheckImei request, when VAL_AUTO_SendCheckImeiRequest the tester sends CheckImei requests without dealay (load test)",
              true,
              true,
              false),
          new MBeanAttributeInfo(
              "CheckImeiClientAction_Value",
              String.class.getName(),
              "The mode of CheckImeiClient work. When manual response user can manually send CheckImei request, when VAL_AUTO_SendCheckImeiRequest the tester sends CheckImei requests without dealay (load test)",
              true,
              false,
              false),
          new MBeanAttributeInfo(
              "MaxConcurrentDialogs",
              int.class.getName(),
              "The count of maximum active MAP dialogs when the auto sending mode",
              true,
              true,
              false),
          new MBeanAttributeInfo(
              "OneNotificationFor100Dialogs",
              boolean.class.getName(),
              "If true there will be only one notification per every 100 sent dialogs (recommended for the auto sending mode)",
              true,
              true,
              true),
        };

    MBeanParameterInfo[] performCheckImeiParam =
        new MBeanParameterInfo[] {
          new MBeanParameterInfo("imei", String.class.getName(), "IMEI's digits string")
        };
    MBeanParameterInfo[] signString =
        new MBeanParameterInfo[] {
          new MBeanParameterInfo("val", String.class.getName(), "Index number or value")
        };

    MBeanOperationInfo[] operations =
        new MBeanOperationInfo[] {
          new MBeanOperationInfo(
              "performCheckImeiRequest",
              "Send CheckIMEI request for provided IMEI",
              performCheckImeiParam /*signString*/,
              String.class.getName(),
              MBeanOperationInfo.ACTION),
          new MBeanOperationInfo(
              "putMapProtocolVersion",
              "MAP protocol version: " + "1, 2 or 3",
              signString,
              Void.TYPE.getName(),
              MBeanOperationInfo.ACTION),
          new MBeanOperationInfo(
              "closeCurrentDialog",
              "Closing the current dialog",
              null,
              String.class.getName(),
              MBeanOperationInfo.ACTION),
          new MBeanOperationInfo(
              "putCheckImeiClientAction",
              "The mode of CheckImeiClient work. 1:VAL_MANUAL_OPERATION,2:VAL_AUTO_SendCheckImeiRequest",
              signString,
              Void.TYPE.getName(),
              MBeanOperationInfo.ACTION),
        };
    return new MBeanInfo(
        TestCheckImeiClientMan.class.getName(),
        "CheckImeiClient test parameters management",
        attributes,
        null,
        operations,
        null);
  }