01: package com.bostechcorp.cbesb.console.jmxclient;
02:
03: public class JmxClientFactory {
04: /*
05: * Gets a default JMX client implementation
06: * This is only a Servicemix client for now
07: */
08: /**
09: * @param port
10: * @param user
11: * @param password
12: * @return
13: * @throws Exception
14: * @deprecated
15: */
16: public static JmxClient getDefaultClient(String port, String user,
17: String password) throws Exception {
18: return new ServicemixJmxClient();
19: }
20:
21: /**
22: * @return
23: * @throws Exception
24: * Since: 1.2
25: */
26: public static JmxClient getDefaultClient() throws Exception {
27: return new ServicemixJmxClient();
28: }
29:
30: }
|