true, false, false));
}
@Override
protected void addExtraOperations(List<ModelMBeanOperationInfo> operations) {
operations.add(new ModelMBeanOperationInfo(
"addFilterFirst", "addFilterFirst", new MBeanParameterInfo[] {
new MBeanParameterInfo(
"name", String.class.getName(), "the new filter name"),
new MBeanParameterInfo(
"filter", ObjectName.class.getName(), "the ObjectName reference to the filter")
}, void.class.getName(), ModelMBeanOperationInfo.ACTION));
operations.add(new ModelMBeanOperationInfo(
"addFilterLast", "addFilterLast", new MBeanParameterInfo[] {
new MBeanParameterInfo(
"name", String.class.getName(), "the new filter name"),
new MBeanParameterInfo(
"filter", ObjectName.class.getName(), "the ObjectName reference to the filter")
}, void.class.getName(), ModelMBeanOperationInfo.ACTION));
operations.add(new ModelMBeanOperationInfo(
"addFilterBefore", "addFilterBefore", new MBeanParameterInfo[] {
new MBeanParameterInfo(
"baseName", String.class.getName(), "the next filter name"),
new MBeanParameterInfo(
"name", String.class.getName(), "the new filter name"),
new MBeanParameterInfo(
"filter", ObjectName.class.getName(), "the ObjectName reference to the filter")
}, void.class.getName(), ModelMBeanOperationInfo.ACTION));
operations.add(new ModelMBeanOperationInfo(
"addFilterAfter", "addFilterAfter", new MBeanParameterInfo[] {
new MBeanParameterInfo(
"baseName", String.class.getName(), "the previous filter name"),
new MBeanParameterInfo(
"name", String.class.getName(), "the new filter name"),
new MBeanParameterInfo(
"filter", ObjectName.class.getName(), "the ObjectName reference to the filter")
}, void.class.getName(), ModelMBeanOperationInfo.ACTION));
operations.add(new ModelMBeanOperationInfo(
"removeFilter", "removeFilter", new MBeanParameterInfo[] {
new MBeanParameterInfo(
"name", String.class.getName(), "the name of the filter to be removed"),
}, void.class.getName(), ModelMBeanOperationInfo.ACTION));
}