KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > remote > provider > RMIServerProvider


1 /*
2  * Copyright (C) MX4J.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.remote.provider;
10
11 import java.util.Map JavaDoc;
12 import java.io.IOException JavaDoc;
13
14 import javax.management.remote.JMXConnectorServerProvider JavaDoc;
15 import javax.management.remote.JMXConnectorServer JavaDoc;
16 import javax.management.remote.JMXServiceURL JavaDoc;
17 import javax.management.remote.rmi.RMIConnectorServer JavaDoc;
18 import javax.management.MBeanServer JavaDoc;
19
20 /**
21  *
22  * @author <a HREF="mailto:biorn_steedom@users.sourceforge.net">Simone Bordet</a>
23  * @version $Revision: 1.1 $
24  */

25 public abstract class RMIServerProvider implements JMXConnectorServerProvider JavaDoc
26 {
27    public JMXConnectorServer JavaDoc newJMXConnectorServer(JMXServiceURL JavaDoc url, Map JavaDoc environment, MBeanServer JavaDoc server) throws IOException JavaDoc
28    {
29       return new RMIConnectorServer JavaDoc(url, environment, server);
30    }
31 }
32
Popular Tags