Examples of RegistryImpl


Examples of com.sun.midp.content.RegistryImpl

     */
    private static RegistryImpl findRegistryImpl(String classname)
        throws ContentHandlerException
    {
        synchronized (mutex) {
            RegistryImpl impl =
                RegistryImpl.getRegistryImpl(classname, classSecurityToken);
            // Make sure there is a Registry;
            if (impl.getRegistry() == null) {
                impl.setRegistry(new Registry(impl));
            }
            return impl;
        }
    }
View Full Code Here

Examples of com.sun.midp.content.RegistryImpl

     *  application package
     */
    public static ContentHandlerServer getServer(String classname)
  throws ContentHandlerException
    {
  RegistryImpl registryImpl = findRegistryImpl(classname);
  // Insure only one thread promotes to ContentHandlerServer
  ContentHandlerImpl server = null;
  synchronized (mutex) {
      server = registryImpl.getServer();
      if (server == null) {
    throw new ContentHandlerException("No registered handler",
      ContentHandlerException.NO_REGISTERED_HANDLER);
      }

      if (!(server instanceof ContentHandlerServer)) {
    // Not already a ContentHandlerServer; replace
    server = new ContentHandlerServerImpl(server);
    registryImpl.setServer(server);
      }
  }
  return (ContentHandlerServer)server;
    }
View Full Code Here

Examples of gnu.java.rmi.registry.RegistryImpl

public static Registry createRegistry(int port) throws RemoteException {
  return (createRegistry(port, RMISocketFactory.getSocketFactory(), RMISocketFactory.getSocketFactory()));
}

public static Registry createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException {
  return (new RegistryImpl(port, csf, ssf));
}
View Full Code Here

Examples of org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl

            orchestratorContext.setOrchestratorConfiguration(orchestratorConfiguration);
            orchestratorConfiguration.setAiravataAPI(getAiravataAPI());
            orchestratorContext.setRegistry(airavataRegistry);

            /* initializing registry cpi */
            orchestratorContext.setNewRegistry(new RegistryImpl());
        } catch (RegException e) {
            logger.error("Failed to initializing Orchestrator");
            OrchestratorException orchestratorException = new OrchestratorException(e);
            throw orchestratorException;
        } catch (AiravataConfigurationException e) {
View Full Code Here

Examples of org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl

            orchestratorContext.setOrchestratorConfiguration(orchestratorConfiguration);
            orchestratorConfiguration.setAiravataAPI(getAiravataAPI());
            orchestratorContext.setRegistry(airavataRegistry);

            /* initializing registry cpi */
            orchestratorContext.setNewRegistry(new RegistryImpl());
        } catch (RegException e) {
            logger.error("Failed to initializing Orchestrator");
            OrchestratorException orchestratorException = new OrchestratorException(e);
            throw orchestratorException;
        } catch (AiravataConfigurationException e) {
View Full Code Here

Examples of org.apache.harmony.rmi.registry.RegistryImpl

            throws RemoteException {
        if (port < 0) {
            // rmi.15=Port value out of range: {0}
            throw new IllegalArgumentException(Messages.getString("rmi.15", port)); //$NON-NLS-1$
        }
        return new RegistryImpl(port, csf, ssf);
    }
View Full Code Here

Examples of org.apache.harmony.rmi.registry.RegistryImpl

            throws RemoteException {
        if (port < 0) {
            // rmi.15=Port value out of range: {0}
            throw new IllegalArgumentException(Messages.getString("rmi.15", port)); //$NON-NLS-1$
        }
        return new RegistryImpl(port, csf, ssf);
    }
View Full Code Here

Examples of org.apache.hivemind.impl.RegistryImpl

        new InvokeFactoryDescriptor().toString();
        new ModuleDescriptor().toString();
        new ServicePointDescriptor().toString();
        new InterceptorDescriptor().toString();
        new ModuleImpl().toString();
        new RegistryImpl(null, Locale.ENGLISH).toString();
        new ContributionImpl().toString();
        new ConfigurationPointImpl().toString();
        new ElementImpl().toString();
        new AttributeImpl("foo", "bar").toString();
        new ServiceInterceptorContributionImpl().toString();
View Full Code Here

Examples of org.apache.hivemind.impl.RegistryImpl

        new InvokeFactoryDescriptor().toString();
        new ModuleDescriptor().toString();
        new ServicePointDescriptor().toString();
        new InterceptorDescriptor().toString();
        new ModuleImpl().toString();
        new RegistryImpl(null, Locale.ENGLISH).toString();
        new ContributionImpl().toString();
        new ConfigurationPointImpl().toString();
        new ElementImpl().toString();
        new AttributeImpl("foo", "bar").toString();
        new ServiceInterceptorContributionImpl().toString();
View Full Code Here

Examples of org.apache.stanbol.ontologymanager.registry.impl.model.RegistryImpl

        return new LibraryImpl(ind.getIRI(), ind.getIRI().getFragment(), cache);
    }

    @Override
    public Registry createRegistry(OWLOntology o) {
        return o.isAnonymous() ? null : new RegistryImpl(o.getOntologyID().getOntologyIRI(), o
                .getOntologyID().toString());
    }
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.