01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.org
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package javax.management;
09:
10: import java.io.Serializable;
11:
12: /**
13: * Allows a query to be performed in the context of a specific MBean server.
14: *
15: * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
16: */
17:
18: public abstract class QueryEval implements Serializable {
19:
20: protected static MBeanServer server;
21:
22: /**
23: * Sets the MBean server on which the query is to be performed.
24: *
25: * @param server The MBean server on which the query is to be performed.
26: */
27: public void setMBeanServer(MBeanServer server) {
28: QueryEval.server = server;
29: }
30: }
|