Package org.eclipse.ecf.internal.remoteservice

Examples of org.eclipse.ecf.internal.remoteservice.Activator


  protected RemoteServiceClientRegistration createRestServiceRegistration(IRemoteCallable[] callables, Dictionary properties) {
    return new RemoteServiceClientRegistration(getRemoteServiceNamespace(), callables, properties, registry);
  }

  protected void logException(String string, Throwable e) {
    Activator a = Activator.getDefault();
    if (a != null)
      a.log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, string, e));
  }
View Full Code Here


    String methodName = method.getName();
    return methodName.endsWith(IAsyncRemoteServiceProxy.ASYNC_METHOD_SUFFIX) ? methodName.substring(0, methodName.length() - IAsyncRemoteServiceProxy.ASYNC_METHOD_SUFFIX.length()) : methodName;
  }

  private void logInfo(String message, Throwable e) {
    Activator a = Activator.getDefault();
    if (a != null)
      a.log(new Status(IStatus.INFO, Activator.PLUGIN_ID, message, e));
  }
View Full Code Here

    if (a != null)
      a.log(new Status(IStatus.INFO, Activator.PLUGIN_ID, message, e));
  }

  protected void logWarning(String string, Throwable e) {
    Activator a = Activator.getDefault();
    if (a != null)
      a.log(new Status(IStatus.WARNING, Activator.PLUGIN_ID, string, e));
  }
View Full Code Here

        return cl.loadClass(name);
      } catch (ClassNotFoundException e) {
        // If the classloader passed in upon construction cannot
        // find the class, then use this bundle's classloader to
        // try to load the class
        Activator a = Activator.getDefault();
        if (a == null)
          throw e;
        BundleContext context = a.getContext();
        if (context == null)
          throw e;
        return context.getBundle().loadClass(name);
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.internal.remoteservice.Activator

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.