本文整理汇总了Java中javax.management.MBeanOperationInfo.ACTION属性的典型用法代码示例。如果您正苦于以下问题:Java MBeanOperationInfo.ACTION属性的具体用法?Java MBeanOperationInfo.ACTION怎么用?Java MBeanOperationInfo.ACTION使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类javax.management.MBeanOperationInfo
的用法示例。
在下文中一共展示了MBeanOperationInfo.ACTION属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("AutoEquipmentStatus", EquipmentStatusType.class.getName(), "EquipmentStatus parameter to be automatically send in CheckImeiResponse", true, true, false),
new MBeanAttributeInfo("AutoEquipmentStatus_Value", String.class.getName(), "EquipmentStatus parameter to be automatically send in CheckImeiResponse", true, false, false),
new MBeanAttributeInfo("OneNotificationFor100Dialogs", boolean.class.getName(),
"If true there will be only one notification per every 100 sent dialogs", true, true, true),
new MBeanAttributeInfo("CurrentRequestDef", String.class.getName(), "Definition of the current request Dialog",
true, false, false),
};
MBeanParameterInfo[] putAutoEquipmentStatusParam = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(), "EquipmentStatus value") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo(
"putAutoEquipmentStatus",
"EquipmentStatus parameter to be automatically send in CheckImeiResponse: "
+ "0:whiteListed,1:blackListed,2:greyListed",
putAutoEquipmentStatusParam, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("closeCurrentDialog", "Closing the current dialog", null, String.class.getName(), MBeanOperationInfo.ACTION)
};
return new MBeanInfo(TestCheckImeiServerMan.class.getName(), "CheckImeiServer test parameters management", attributes, null, operations, null);
}
示例2: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("ATIReaction", ATIReaction.class.getName(), "ATI response type", true, true, false),
new MBeanAttributeInfo("ATIReaction_Value", String.class.getName(), "ATI response type", true, false, false), };
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(), "Index number or value") };
// MBeanParameterInfo[] performATIParam = new MBeanParameterInfo[] { new MBeanParameterInfo("msg", String.class.getName(), "Message text"),
// new MBeanParameterInfo("address", String.class.getName(), "SubscriberIdentity: IMSI or MSISDN"), };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
// new MBeanOperationInfo("performAtiRequest", "Send ATI request", performATIParam, String.class.getName(), MBeanOperationInfo.ACTION),
// new MBeanOperationInfo("closeCurrentDialog", "Closing the current dialog", null, String.class.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putATIReaction", "ATI response type: "
+ "1:ReturnSuccess,2:ReturnSuccessSubscriberState,3:ReturnSystemFailureError,4:ReturnDataMissingError,5:ReturnUnknownSubscriberError",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
};
return new MBeanInfo(TestAtiServerMan.class.getName(), "AtiServer test parameters management", attributes, null, operations, null);
}
示例3: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("NetworkNodeNumberAddress", String.class.getName(),
"NetworkNodeNumber address parameter for response",
true, true, false), };
MBeanParameterInfo[] performSRIResponseParam = new MBeanParameterInfo[] { };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("performSendRoutingInfoForLCSResponse", "Send Routing Information for LCS response",
performSRIResponseParam, String.class.getName(), MBeanOperationInfo.ACTION),
};
return new MBeanInfo(TestMapLcsServerMan.class.getName(), "MapLcsServer test parameters management", attributes, null, operations, null);
}
示例4: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
// TODO: Put real attributes and operations
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("AddressNature", AddressNatureType.class.getName(),
"AddressNature parameter for mlcNumber creating",
true, true, false),
new MBeanAttributeInfo("NumberingPlanType", NumberingPlanMapType.class.getName(),
"NumberingPlanType parameter for mlcNumber creating",
true, true, false),
new MBeanAttributeInfo("NumberingPlan", String.class.getName(),
"NumberingPlan parameter for mlcNumber creating",
true, true, false), };
MBeanParameterInfo[] performSRIRequestParam = new MBeanParameterInfo[] {
new MBeanParameterInfo("addressIMSI", String.class.getName(), "Address for IMSI") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("performSendRoutingInfoForLCSRequest", "Send Routing Information for LCS request",
performSRIRequestParam, String.class.getName(), MBeanOperationInfo.ACTION),
};
return new MBeanInfo(TestMapLcsClientMan.class.getName(), "MapLcsClient test parameters management", attributes, null, operations, null);
}
示例5: getImpactString
public static String getImpactString(int impact) {
switch (impact) {
case MBeanOperationInfo.ACTION:
return IMPACT_ACTION;
case MBeanOperationInfo.ACTION_INFO:
return IMPACT_ACTION_INFO;
case MBeanOperationInfo.INFO:
return IMPACT_INFO;
case MBeanOperationInfo.UNKNOWN:
default:
return IMPACT_UNKNOWN;
}
}
示例6: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
ArrayList<OpenMBeanAttributeInfoSupport> attributes = new ArrayList<>();
attributes.add(new OpenMBeanAttributeInfoSupport("enabled", "enabled", SimpleType.BOOLEAN, true, true, true));
for (String type : registry.getTypes()) {
attributes.add(new OpenMBeanAttributeInfoSupport(type, type, getCompositeType(type), true, false, false));
}
OpenMBeanParameterInfo[] params = new OpenMBeanParameterInfoSupport[0];
OpenMBeanOperationInfoSupport reset = new OpenMBeanOperationInfoSupport("reset", "Reset all Metrics", params,
SimpleType.VOID, MBeanOperationInfo.ACTION);
OpenMBeanInfoSupport PSOMBInfo = new OpenMBeanInfoSupport(this.getClass().getName(), description,
attributes.toArray(new OpenMBeanAttributeInfoSupport[0]), new OpenMBeanConstructorInfoSupport[0],
new OpenMBeanOperationInfoSupport[] { reset }, new MBeanNotificationInfo[0]);
return PSOMBInfo;
}
示例7: getMBeanInfo
@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);
}
示例8: getMBeanInfo
@Override
public synchronized MBeanInfo getMBeanInfo() {
MBeanParameterInfo[] parameter = new MBeanParameterInfo[] {
new MBeanParameterInfo("informationId", "java.lang.String",
"The information ID which the value will be changed. e.g. AUTH_MODE"),
new MBeanParameterInfo("value", "java.lang.String",
"The value to be set for the information ID. e.g. INTERNAL, SAML_SP") };
MBeanOperationInfo[] operations = { new MBeanOperationInfo(
SET_CONFIGURATION_SETTING, "Set configuration setting",
parameter, "java.lang.String", MBeanOperationInfo.ACTION) };
return new MBeanInfo(this.getClass().getName(),
"Set Configuration Setting MBean", null, null, operations, null);
}
示例9: getMBeanInfo
@Override
public synchronized MBeanInfo getMBeanInfo() {
MBeanParameterInfo[] parameter = new MBeanParameterInfo[] { new MBeanParameterInfo(
"currentDate", "java.lang.String",
"The current date for the billing run. Format is "
+ DATE_FORMAT.toUpperCase()) };
MBeanOperationInfo[] operations = { new MBeanOperationInfo(
START_BILLING_RUN, "Start billing run", parameter,
"java.lang.String", MBeanOperationInfo.ACTION) };
return new MBeanInfo(this.getClass().getName(), "Billing Run MBean",
null, null, operations, null);
}
示例10: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("StorePcapTrace", boolean.class.getName(),
"Storing all transmitted/received data into MsgLog_*.pcap file", true, true, true),
new MBeanAttributeInfo("SctpLocalHost", String.class.getName(), "Local host IP address", true, true, false),
new MBeanAttributeInfo("SctpLocalHost2", String.class.getName(), "Local host 2 IP address", true, true, false),
new MBeanAttributeInfo("SctpLocalPort", int.class.getName(), "Local port number", true, true, false),
new MBeanAttributeInfo("SctpLocalPort2", int.class.getName(), "Local port 2 number", true, true, false),
new MBeanAttributeInfo("SctpRemoteHost", String.class.getName(), "Remote host IP address", true, true, false),
new MBeanAttributeInfo("SctpRemoteHost2", String.class.getName(), "Remote host 2 IP address", true, true, false),
new MBeanAttributeInfo("SctpRemotePort", int.class.getName(), "Remote port number", true, true, false),
new MBeanAttributeInfo("SctpRemotePort2", int.class.getName(), "Remote port 2 number", true, true, false),
new MBeanAttributeInfo(
"SctpExtraHostAddresses",
String.class.getName(),
"Extra host IP addresses for multihoming support. In mulihoming case enter IP addresses separated by a space character",
true, true, false),
new MBeanAttributeInfo("SctpIsServer", boolean.class.getName(),
"Local SCTP/TCP host is SCTP/TCP server (not a client)", true, true, true),
new MBeanAttributeInfo("SctpIPChannelType", BIpChannelType.class.getName(), "IP channel type: SCTP or TCP",
true, true, false),
new MBeanAttributeInfo("SctpIPChannelType_Value", String.class.getName(), "IP channel type: SCTP or TCP", true,
false, false),
new MBeanAttributeInfo("M3uaFunctionality", M3uaFunctionality.class.getName(),
"M3ua functionality type: IPSP, AS or SGW", true, true, false),
new MBeanAttributeInfo("M3uaFunctionality_Value", String.class.getName(), "M3ua functionality type", true, false, false),
new MBeanAttributeInfo("M3uaIPSPType", M3uaIPSPType.class.getName(), "M3ua IPSP type: CLIENT or SERVER", true, true, false),
new MBeanAttributeInfo("M3uaIPSPType_Value", String.class.getName(), "M3ua IPSP type", true, false, false),
new MBeanAttributeInfo("RoutingLabelFormat", M3uaRoutingLabelFormat.class.getName(),
"RoutingLabelFormat for M3ua: ITU, ANSI_Sls8Bit, ANSI_Sls5Bit, Japan_TTC_DDI, Japan_NTT or China", true, true, false),
new MBeanAttributeInfo("RoutingLabelFormat_Value", String.class.getName(), "RoutingLabelFormat for M3ua", true, false, false),
new MBeanAttributeInfo("M3uaExchangeType", M3uaExchangeType.class.getName(), "M3ua exchange type: SE or DE", true, true, false),
new MBeanAttributeInfo("M3uaExchangeType_Value", String.class.getName(), "M3ua exchange type", true, false, false),
new MBeanAttributeInfo("M3uaTrafficModeType", M3uaTrafficModeType.class.getName(), "M3ua traffic mode type: OVERRIDE, LOADSHARE or BROADCAST", true, true, false),
new MBeanAttributeInfo("M3uaTrafficModeType_Value", String.class.getName(), "M3ua traffic mode type", true, false, false),
new MBeanAttributeInfo("M3uaDpc", int.class.getName(), "Dpc", true, true, false),
new MBeanAttributeInfo("M3uaDpc2", int.class.getName(), "Dpc2", true, true, false),
new MBeanAttributeInfo("M3uaOpc", int.class.getName(), "Opc: may be -1", true, true, false),
new MBeanAttributeInfo("M3uaOpc2", int.class.getName(), "Opc2", true, true, false),
new MBeanAttributeInfo("M3uaSi", int.class.getName(), "Service indicator: may be -1", true, true, false),
new MBeanAttributeInfo("M3uaRoutingContext", long.class.getName(), "Routing context", true, true, false),
new MBeanAttributeInfo("M3uaNetworkAppearance", long.class.getName(), "Network appearance", true, true, false), };
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(),
"Index number or value") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("putSctpIPChannelType", "IP channel type: SCTP or TCP: 1:TCP,2:SCTP", signString, Void.TYPE.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putM3uaFunctionality", "M3ua functionality type: 1:IPSP,2:AS,3:SGW", signString, Void.TYPE.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putM3uaIPSPType", "M3ua IPSP type: 1:CLIENT,2:SERVER", signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putRoutingLabelFormat",
"M3ua traffic mode type: 1:ITU, 2:ANSI_Sls8Bit, 3:ANSI_Sls5Bit, 4:Japan_TTC_DDI, 5:China, 6:Japan_NTT", signString,
Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putM3uaExchangeType", "M3ua exchange type: 1:SE,2:DE", signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putM3uaTrafficModeType", "M3ua traffic mode type: 1:OVERRIDE,2:LOADSHARE,3:BROADCAST", signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION), };
return new MBeanInfo(M3uaMan.class.getName(), "M3ua Management", attributes, null, operations, null);
}
示例11: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
// new MBeanAttributeInfo("LocalSsn", int.class.getName(), "Local Ssn", true, true, false),
// new MBeanAttributeInfo("RemoteSsn", int.class.getName(), "Remote Ssn", true, true, false),
new MBeanAttributeInfo("RemoteAddressDigits", String.class.getName(),
"Remote address digits. If empty ROUTING_BASED_ON_DPC_AND_SSN is used for CalledPartyAddress (remoteSpc from SCCP), "
+ "if not empty ROUTING_BASED_ON_GLOBAL_TITLE is used (address and Ssn from MAP)", true, true,
false),
new MBeanAttributeInfo("OrigReference", String.class.getName(), "Origination reference string", true, true,
false),
new MBeanAttributeInfo("OrigReferenceAddressNature", AddressNatureType.class.getName(),
"Origination reference parameter: AddressNature", true, true, false),
new MBeanAttributeInfo("OrigReferenceAddressNature_Value", String.class.getName(),
"Origination reference parameter: AddressNature", true, false, false),
new MBeanAttributeInfo("OrigReferenceNumberingPlan", NumberingPlanMapType.class.getName(),
"Origination reference parameter: NumberingPlan", true, true, false),
new MBeanAttributeInfo("OrigReferenceNumberingPlan_Value", String.class.getName(),
"Origination reference parameter: NumberingPlan", true, false, false),
new MBeanAttributeInfo("DestReference", String.class.getName(), "Destination reference string", true, true,
false),
new MBeanAttributeInfo("DestReferenceAddressNature", AddressNatureType.class.getName(),
"Destination reference parameter: AddressNature", true, true, false),
new MBeanAttributeInfo("DestReferenceAddressNature_Value", String.class.getName(),
"Destination reference parameter: AddressNature", true, false, false),
new MBeanAttributeInfo("DestReferenceNumberingPlan", NumberingPlanMapType.class.getName(),
"Destination reference parameter: NumberingPlan", true, true, false),
new MBeanAttributeInfo("DestReferenceNumberingPlan_Value", String.class.getName(),
"Destination reference parameter: NumberingPlan", true, false, false), };
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(),
"Index number or value") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo(
"putOrigReferenceAddressNature",
"Origination reference parameter: AddressNature: "
+ "0:unknown,1:international_number,2:national_significant_number,3:network_specific_number,4:subscriber_number,5:reserved,6:abbreviated_number,7:reserved_for_extension",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putOrigReferenceNumberingPlan",
"Origination reference reference parameter: NumberingPlan: "
+ "0:unknown,1:ISDN,2:spare_2,3:data,4:telex,5:spare_5,6:land_mobile,7:spare_7,8:national,9:private_plan,15:reserved",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putDestReferenceAddressNature",
"Destination reference parameter: AddressNature: "
+ "0:unknown,1:international_number,2:national_significant_number,3:network_specific_number,4:subscriber_number,5:reserved,6:abbreviated_number,7:reserved_for_extension",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putDestReferenceNumberingPlan",
"Destination reference parameter: NumberingPlan: "
+ "0:unknown,1:ISDN,2:spare_2,3:data,4:telex,5:spare_5,6:land_mobile,7:spare_7,8:national,9:private_plan,15:reserved",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION), };
return new MBeanInfo(MapMan.class.getName(), "Map Management", attributes, null, operations, null);
}
示例12: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo(
"RouteOnGtMode",
boolean.class.getName(),
"False: ROUTING_BASED_ON_DPC_AND_SSN is used for Called/CallingPartyAddresses, "
+ "True: ROUTING_BASED_ON_GLOBAL_TITLE is used (CalledPartyAddresses digits must be supplied by upper layers)",
true, true, true),
new MBeanAttributeInfo("RemoteSpc", int.class.getName(), "Remote Signal point code", true, true, false),
new MBeanAttributeInfo("LocalSpc", int.class.getName(), "Local Signal point code", true, true, false),
new MBeanAttributeInfo("Ni", int.class.getName(), "Network indicator", true, true, false),
new MBeanAttributeInfo("RemoteSsn", int.class.getName(), "Remote SSN number", true, true, false),
new MBeanAttributeInfo("LocalSsn", int.class.getName(), "Local SSN number", true, true, false),
new MBeanAttributeInfo("GlobalTitleType", GlobalTitleType.class.getName(),
"GlobalTitle type for creating SccpAddress (when routing on GT)", true, true, false),
new MBeanAttributeInfo("GlobalTitleType_Value", String.class.getName(),
"GlobalTitle type for creating SccpAddress (when routing on GT)", true, false, false),
new MBeanAttributeInfo("NatureOfAddress", NatureOfAddressType.class.getName(),
"NatureOfAddress parameter for creating SccpAddress (when routing on GT)", true, true, false),
new MBeanAttributeInfo("NatureOfAddress_Value", String.class.getName(),
"NatureOfAddress parameter for creating SccpAddress (when routing on GT)", true, false, false),
new MBeanAttributeInfo("NumberingPlan", NumberingPlanSccpType.class.getName(),
"NumberingPlan parameter for creating SccpAddress (when routing on GT)", true, true, false),
new MBeanAttributeInfo("NumberingPlan_Value", String.class.getName(),
"NumberingPlan parameter for creating SccpAddress (when routing on GT)", true, false, false),
new MBeanAttributeInfo("TranslationType", int.class.getName(),
"Translation Type parameter for creating SccpAddress (when routing on GT)", true, true, false),
new MBeanAttributeInfo("CallingPartyAddressDigits", String.class.getName(), "CallingPartyAddress digits for RouteOnGt mode", true, true, false),
new MBeanAttributeInfo("SccpProtocolVersion", SccpProtocolVersionType.class.getName(), "Sccp protocol version (ITU/ANSI)", true, true, false),
new MBeanAttributeInfo("SccpProtocolVersion_Value", String.class.getName(), "Sccp protocol version (ITU/ANSI)", true, false, false),
};
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(),
"Index number or value") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("putGlobalTitleType", "GlobalTitle type: "
+ "1:VAL_NOA_ONLY,2:VAL_TT_ONLY,3:VAL_TT_NP_ES,4:VAL_TT_NP_ES_NOA", signString, Void.TYPE.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putNatureOfAddress", "Parameter: NatureOfAddress: "
+ "0:UNKNOWN,1:SUBSCRIBER,2:RESERVED_NATIONAL_2,3:NATIONAL,4:INTERNATIONAL,127:RESERVED", signString,
Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putNumberingPlan", "Parameter: NumberingPlan: "
+ "0:UNKNOWN,1:ISDN_TELEPHONY,2:GENERIC,3:DATA,4:TELEX,5:MERITIME_MOBILE,6:LAND_MOBILE,7:ISDN_MOBILE,14:PRIVATE,15:RESERVED",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putSccpProtocolVersion", "Parameter: SccpProtocolVersion: " + "1:ITU,2:ANSI", signString, Void.TYPE.getName(),
MBeanOperationInfo.ACTION), };
return new MBeanInfo(SccpMan.class.getName(), "Sccp Management", attributes, null, operations, null);
}
示例13: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("Started", boolean.class.getName(), "Tester host is started now", true, false, true),
new MBeanAttributeInfo("Instance_L1", Instance_L1.class.getName(), "Tester Level 1 agent", true, true, false),
new MBeanAttributeInfo("Instance_L2", Instance_L2.class.getName(), "Tester Level 2 agent", true, true, false),
new MBeanAttributeInfo("Instance_L3", Instance_L3.class.getName(), "Tester Level 3 agent", true, true, false),
new MBeanAttributeInfo("Instance_TestTask", Instance_TestTask.class.getName(), "Tester task", true, true, false),
new MBeanAttributeInfo("Instance_L1_Value", String.class.getName(), "Tester Level 1 agent", true, false, false),
new MBeanAttributeInfo("Instance_L2_Value", String.class.getName(), "Tester Level 2 agent", true, false, false),
new MBeanAttributeInfo("Instance_L3_Value", String.class.getName(), "Tester Level 3 agent", true, false, false),
new MBeanAttributeInfo("Instance_TestTask_Value", String.class.getName(), "Tester task", true, false, false),
new MBeanAttributeInfo("L1State", String.class.getName(), "Tester Level 1 state", true, false, false),
new MBeanAttributeInfo("L2State", String.class.getName(), "Tester Level 2 state", true, false, false),
new MBeanAttributeInfo("L3State", String.class.getName(), "Tester Level 3 state", true, false, false),
new MBeanAttributeInfo("TestTaskState", String.class.getName(), "Tester TestTask state", true, false, false), };
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(),
"Index number or value") };
MBeanParameterInfo[] signEmpty = new MBeanParameterInfo[] {};
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("putInstance_L1Value", "Tester Level 1 agent: 0:NO,1:M3UA,2:DialogicCard", signString,
Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putInstance_L2Value", "Tester Level 2 agent: 0:NO,1:SCCP,2:ISUP", signString,
Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putInstance_L3Value", "Tester Level 3 agent: 0:NO,1:MAP,2:CAP,3:INAP", signString,
Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putInstance_TestTaskValue",
"Tester task: 0:NO,1:USSD_TEST_CLIENT,2:USSD_TEST_SERVER,3:SMS_TEST_CLIENT,4:SMS_TEST_SERVER,5:CAP_TEST_SCF,6:CAP_TEST_SSF,7:ATI_TEST_CLIENT,8:ATI_TEST_SERVER,9:CHECK_IMEI_TEST_CLIENT,10:CHECK_IMEI_TEST_SERVER",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("start", "Starting a tester process", signEmpty, Void.TYPE.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("stop", "Stopping a tester process", signEmpty, Void.TYPE.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("quit", "Stop a tester process and terminate an application", signEmpty,
Void.TYPE.getName(), MBeanOperationInfo.ACTION), };
MBeanNotificationInfo[] notifications = new MBeanNotificationInfo[] { new MBeanNotificationInfo(
new String[] { TesterHost.SS7_EVENT }, Notification.class.getName(), "SS7 events notification"), };
return new MBeanInfo(TesterHost.class.getName(), "Tester host", attributes, null, operations, notifications);
}
示例14: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("MsisdnAddress", String.class.getName(), "Msisdn parameter: string", true, true, false),
new MBeanAttributeInfo("MsisdnAddressNature", AddressNatureType.class.getName(),
"Msisdn parameter: AddressNature", true, true, false),
new MBeanAttributeInfo("MsisdnAddressNature_Value", String.class.getName(), "Msisdn parameter: AddressNature",
true, false, false),
new MBeanAttributeInfo("MsisdnNumberingPlan", NumberingPlanMapType.class.getName(),
"Msisdn parameter: NumberingPlan", true, true, false),
new MBeanAttributeInfo("MsisdnNumberingPlan_Value", String.class.getName(), "Msisdn parameter: NumberingPlan",
true, false, false),
new MBeanAttributeInfo("DataCodingScheme", int.class.getName(), "USSD DataCodingScheme (default value: 15)",
true, true, false),
new MBeanAttributeInfo("AlertingPattern", int.class.getName(),
"AlertingPattern value (-1 means no AlertingPattern parameter)", true, true, false),
new MBeanAttributeInfo("CurrentRequestDef", String.class.getName(), "Definition of the current request Dialog",
true, false, false),
new MBeanAttributeInfo(
"UssdClientAction",
UssdClientAction.class.getName(),
"The mode of UssdClient work. When manual response user can manually send ProcessSsUnstructured request, when VAL_AUTO_SendProcessUnstructuredSSRequest the tester sends ProcessSsUnstructured requests without dealay (load test)",
true, true, false),
new MBeanAttributeInfo(
"UssdClientAction_Value",
String.class.getName(),
"The mode of UssdClient work. When manual response user can manually send ProcessSsUnstructured request, when VAL_AUTO_SendProcessUnstructuredSSRequest the tester sends ProcessSsUnstructured requests without dealay (load test)",
true, false, false),
new MBeanAttributeInfo("AutoRequestString", String.class.getName(), "Value of auto ProcessSsUnstructured request", true, true, 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),
new MBeanAttributeInfo("SRIResponseImsi", String.class.getName(), "IMSI for auto sendRoutingInfoForSM response", true, true, false),
new MBeanAttributeInfo("SRIResponseVlr", String.class.getName(), "VLR address for auto sendRoutingInfoForSM response", true, true, false),
new MBeanAttributeInfo("SRIReaction", SRIReaction.class.getName(), "SRI response type", true, true, false),
new MBeanAttributeInfo("SRIReaction_Value", String.class.getName(), "SRI response type", true, false, false),
new MBeanAttributeInfo("Return20PersDeliveryErrors", boolean.class.getName(), "Return 20% delivery errors for SRI or MtForwardSM Requests",
true, true, true),
};
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(),
"Index number or value") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("performProcessUnstructuredRequest", "Send ProcessUnstructedSs request", signString, String.class.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("performUnstructuredResponse", "Send UnstructedSs response", signString, String.class.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("sendUssdBusyResponse", "Sending of UssdBusy Error message and close the current dialog", null, String.class.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("closeCurrentDialog", "Closing the current dialog", null, String.class.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putMsisdnAddressNature",
"Msisdn parameter: AddressNature: "
+ "0:unknown,1:international_number,2:national_significant_number,3:network_specific_number,4:subscriber_number,5:reserved,6:abbreviated_number,7:reserved_for_extension",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putMsisdnNumberingPlan", "Msisdn parameter: NumberingPlan: "
+ "0:unknown,1:ISDN,2:spare_2,3:data,4:telex,5:spare_5,6:land_mobile,7:spare_7,8:national,9:private_plan,15:reserved", signString,
Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putUssdClientAction",
"The mode of UssdClient work. 1:VAL_MANUAL_OPERATION,2:VAL_AUTO_SendProcessUnstructuredSSRequest", signString, Void.TYPE.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo("putSRIReaction", "SRI response type: "
+ "1:ReturnSuccess,2:ReturnSuccessWithLmsi,3:ReturnSystemFailureError,4:ReturnCallBarredError,5:ReturnAbsentSubscriberError",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
};
return new MBeanInfo(TestUssdClientMan.class.getName(), "UssdClient test parameters management", attributes, null,
operations, null);
}
示例15: getMBeanInfo
@Override
public MBeanInfo getMBeanInfo() {
MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[] {
new MBeanAttributeInfo("MsisdnAddress", String.class.getName(), "Msisdn parameter: string", true, true, false),
new MBeanAttributeInfo("MsisdnAddressNature", AddressNatureType.class.getName(),
"Msisdn parameter: AddressNature", true, true, false),
new MBeanAttributeInfo("MsisdnAddressNature_Value", String.class.getName(), "Msisdn parameter: AddressNature",
true, false, false),
new MBeanAttributeInfo("MsisdnNumberingPlan", NumberingPlanMapType.class.getName(),
"Msisdn parameter: NumberingPlan", true, true, false),
new MBeanAttributeInfo("MsisdnNumberingPlan_Value", String.class.getName(), "Msisdn parameter: NumberingPlan",
true, false, false),
new MBeanAttributeInfo("DataCodingScheme", int.class.getName(), "USSD DataCodingScheme (default value: 15)",
true, true, false),
new MBeanAttributeInfo("AlertingPattern", int.class.getName(),
"AlertingPattern value (-1 means no AlertingPattern parameter)", true, true, false),
new MBeanAttributeInfo(
"ProcessSsRequestAction",
ProcessSsRequestAction.class.getName(),
"Action which be performed when ProcessSsUnstructuredRequest has been received. When manual response user must manually send a response or SsUnstructuredRequest to the UssdClient. Other actions are: auto sending \"AutoResponseString\" as a response, auto sending \"AutoUnstructured_SS_RequestString\" as a SsUnstructuredRequest and then auto sending \"AutoResponseString\" as a response to SsUnstructured response",
true, true, false),
new MBeanAttributeInfo(
"ProcessSsRequestAction_Value",
String.class.getName(),
"Action which be performed when ProcessSsUnstructuredRequest has been received. When manual response user must manually send a response or SsUnstructuredRequest to the UssdClient. Other actions are: auto sending \"AutoResponseString\" as a response, auto sending \"AutoUnstructured_SS_RequestString\" as a SsUnstructuredRequest and then auto sending \"AutoResponseString\" as a response to SsUnstructured response",
true, false, false),
new MBeanAttributeInfo("AutoResponseString", String.class.getName(),
"Value of auto ProcessSsUnstructured response", true, true, false),
new MBeanAttributeInfo("AutoUnstructured_SS_RequestString", String.class.getName(),
"Value of auto SsUnstructured request", true, true, false),
new MBeanAttributeInfo("CurrentRequestDef", String.class.getName(), "Definition of the current request Dialog",
true, false, false),
new MBeanAttributeInfo(
"OneNotificationFor100Dialogs",
boolean.class.getName(),
"If true there will be only one notification per every 100 received dialogs (recommended for the auto answering mode)",
true, true, true), };
MBeanParameterInfo[] signString = new MBeanParameterInfo[] { new MBeanParameterInfo("val", String.class.getName(),
"Index number or value") };
MBeanOperationInfo[] operations = new MBeanOperationInfo[] {
new MBeanOperationInfo("performProcessUnstructuredResponse", "Send ProcessUnstructedSs response", signString,
String.class.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("performUnstructuredRequest", "Send UnstructedSs request", signString,
String.class.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("performUnstructuredNotify", "Send UnstructedSs notify", signString,
String.class.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo("closeCurrentDialog", "Closing the current dialog", null, String.class.getName(),
MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putMsisdnAddressNature",
"Msisdn parameter: AddressNature: "
+ "0:unknown,1:international_number,2:national_significant_number,3:network_specific_number,4:subscriber_number,5:reserved,6:abbreviated_number,7:reserved_for_extension",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putMsisdnNumberingPlan",
"Msisdn parameter: NumberingPlan: "
+ "0:unknown,1:ISDN,2:spare_2,3:data,4:telex,5:spare_5,6:land_mobile,7:spare_7,8:national,9:private_plan,15:reserved",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
"putProcessSsRequestAction",
"Action which be performed when ProcessSsUnstructuredRequest has been received. 1:VAL_MANUAL_RESPONSE,2:VAL_AUTO_ProcessUnstructuredSSResponse,3:VAL_AUTO_Unstructured_SS_Request_Then_ProcessUnstructuredSSResponse",
signString, Void.TYPE.getName(), MBeanOperationInfo.ACTION), };
return new MBeanInfo(TestUssdServerMan.class.getName(), "UssdServer test parameters management", attributes, null,
operations, null);
}