1 /***
2 * Created on Jun 15, 2005, Copyright UC Regents
3 */
4 package org.telscenter.pas.steps;
5
6 import java.util.logging.Logger;
7
8 import java.awt.Component;
9 import java.io.IOException;
10
11 import javax.jmdns.JmDNS;
12
13 import org.telscenter.pas.beans.PasStep;
14 import org.telscenter.pas.util.JmdnsBrowser;
15
16
17 /***
18 * @author turadg
19 *
20 */
21 public class JmdnsBrowsingStep extends PasStep {
22 /***
23 * Logger for this class
24 */
25 private static final Logger logger = Logger
26 .getLogger(JmdnsBrowsingStep.class.getName());
27
28 private JmdnsBrowser browser;
29
30 public JmdnsBrowsingStep() {
31 try {
32 browser = new JmdnsBrowser(new JmDNS());
33 } catch (IOException e) {
34
35 logger.severe("exception: " + e);
36 }
37 }
38
39 public Component getComponent() {
40 return browser;
41 }
42
43 }