Package org.eclipse.ecf.provider.jmdns.container

Examples of org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryContainer


     * @see org.osgi.framework.ServiceFactory#getService(org.osgi.framework.Bundle, org.osgi.framework.ServiceRegistration)
     */
    public Object getService(final Bundle bundle, final ServiceRegistration registration) {
      if (jdc == null) {
        try {
          jdc = new JMDNSDiscoveryContainer();
          jdc.connect(null, null);
        } catch (final IDCreateException e) {
          Trace.catching(JMDNSPlugin.PLUGIN_ID, JMDNSDebugOptions.EXCEPTIONS_CATCHING, this.getClass(), "getService(Bundle, ServiceRegistration)", e); //$NON-NLS-1$ //$NON-NLS-2$
        } catch (final ContainerConnectException e) {
          Trace.catching(JMDNSPlugin.PLUGIN_ID, JMDNSDebugOptions.EXCEPTIONS_CATCHING, this.getClass(), "getService(Bundle, ServiceRegistration)", e); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.