OpenMBeanConstructorInfo[] testctors =
new OpenMBeanConstructorInfoSupport[]{
new OpenMBeanConstructorInfoSupport("CurrencyMBean",
"create a currency mbean",
new OpenMBeanParameterInfoSupport[]{
new OpenMBeanParameterInfoSupport("currencies",
"currencies that may be exchanged",
new ArrayType(1, SimpleType.STRING))})
};
OpenMBeanParameterInfo[] ratesig =
new OpenMBeanParameterInfo[]{
new OpenMBeanParameterInfoSupport("to",
"currency to convert to",
SimpleType.STRING),
new OpenMBeanParameterInfoSupport("from",
"currency to convert from",
SimpleType.STRING)};
OpenMBeanParameterInfo[] exsig =
new OpenMBeanParameterInfo[]{
new OpenMBeanParameterInfoSupport("from",
"currency to convert from",
SimpleType.STRING),
new OpenMBeanParameterInfoSupport("amount",
"amount of currency to convert",
SimpleType.FLOAT),
new OpenMBeanParameterInfoSupport("to",
"currency to convert to",
SimpleType.STRING)};
OpenMBeanOperationInfo[] testops =
new OpenMBeanOperationInfoSupport[]{