Examples of IProvider


Examples of com.ibm.ucp.IProvider

        // Load up a testing UCP configuration.
        // This contains an Adaptor definition for our provider, etc.
        Environment.init("/com/volantis/mcs/ibm/ucp/ucp-config.xml");

        // Create the provider.
        IProvider provider = ProviderFactory.getProvider();

        // Check it is the type we expect.
        assertTrue(provider instanceof MCSDeviceRepositoryProvider);

    }
View Full Code Here

Examples of org.locationtech.udig.project.IProvider

                return object;
            }
        } else {
            // object does not exists, try to find a provider
            IProvider provider = findProvider(key);
            if (provider != null) {
                try {
                    Object object = provider.provide();
                    if (object != null) {
                        createEntry(key, object);
                        return object;
                    }
                } catch (Exception e) {
                    String msg = "provider exception :" + key; //$NON-NLS-1$
                    String id = provider.getExtension().getNamespace();
                    IStatus status = new Status(IStatus.WARNING, id, 0, msg, e);

                    ProjectPlugin.getPlugin().getLog().log(status);
                }
            }
View Full Code Here

Examples of org.tuba.repository.provider.IProvider

  }

  private void collectProviders() {
    for (IConfigurationElement element : getPlugins(POINT_ID)) {
      String name = element.getName();
      IProvider provider = null;
      if(DYNAMIC_PROVIDER_NAME.equals(name)){
        String repoID =  element.getAttribute(PROVIDER_ID);
        IDynamicProvider dynamicProvider = initDynamicProvider(element, repoID);
        provider = dynamicProvider;
      } else if(STATIC_PROVIDER_NAME.equals(name)){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.