2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 248N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 248N/A * This code is free software; you can redistribute it and/or modify it 248N/A * under the terms of the GNU General Public License version 2 only, as 248N/A * published by the Free Software Foundation. 248N/A * This code is distributed in the hope that it will be useful, but WITHOUT 248N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 248N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 248N/A * version 2 for more details (a copy is included in the LICENSE file that 248N/A * accompanied this code). 248N/A * You should have received a copy of the GNU General Public License version 248N/A * 2 along with this work; if not, write to the Free Software Foundation, 248N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 248N/A * @summary Check that custom subclasses of QueryEval can be serialized. 248N/A * @author Eamonn McManus 248N/A /* A query that calls the increment method of the Count MBean every time 248N/A * it is evaluated. If there is no ObjectName filter, the query will be 248N/A * evaluated for every MBean in the MBean Server, so the count will be 248N/A * incremented by the number of MBeans.