Examples of resolve()


Examples of org.apache.sis.xml.ReferenceResolver.resolve()

        if (uuid == null) {
            uuid = toUUID(context, anyUUID);
        }
        if (metadata == null) {
            final ReferenceResolver resolver = Context.resolver(context);
            if ((uuid  == null || (metadata = resolver.resolve(context, type, uuid )) == null) &&
                (xlink == null || (metadata = resolver.resolve(context, type, xlink)) == null))
            {
                // Failed to find an existing metadata instance.
                // Creates an empty instance with the identifiers.
                int count = 0;
View Full Code Here

Examples of org.apache.slider.core.conf.AggregateConf.resolve()

    Path clusterDirectory = sliderFileSystem.buildClusterDirPath(name);
    AggregateConf instanceDefinition = loadInstanceDefinitionUnresolved(
      name,
      clusterDirectory);
    if (resolved) {
      instanceDefinition.resolve();
    }
    return instanceDefinition;

  }
 
View Full Code Here

Examples of org.apache.sling.api.resource.ResourceResolver.resolve()

        if (includeLoginForm && (resourceResolverFactory != null)) {
            ResourceResolver resourceResolver = null;
            try {
                resourceResolver = resourceResolverFactory.getAdministrativeResourceResolver(null);
                Resource loginFormResource = resourceResolver.resolve(loginForm);
                Servlet loginFormServlet = loginFormResource.adaptTo(Servlet.class);
                if (loginFormServlet != null) {
                    try {
                        loginFormServlet.service(request, response);
                        return true;
View Full Code Here

Examples of org.apache.stanbol.enhancer.engines.refactor.dereferencer.Dereferencer.resolve()

            String recipeString = null;

            if (recipeLocation != null && !recipeLocation.isEmpty()) {
                Dereferencer dereferencer = new DereferencerImpl();
                try {
                    recipeStream = dereferencer.resolve(recipeLocation);
                    log.debug("Loaded recipe from external source {}", recipeLocation);
                } catch (FileNotFoundException e) {
                    log.error("Recipe Stream is null.", e);
                }
            } else {
View Full Code Here

Examples of org.apache.stanbol.enhancer.engines.refactor.dereferencer.DereferencerImpl.resolve()

            String recipeString = null;

            if (recipeLocation != null && !recipeLocation.isEmpty()) {
                Dereferencer dereferencer = new DereferencerImpl();
                try {
                    recipeStream = dereferencer.resolve(recipeLocation);
                    log.debug("Loaded recipe from external source {}", recipeLocation);
                } catch (FileNotFoundException e) {
                    log.error("Recipe Stream is null.", e);
                }
            } else {
View Full Code Here

Examples of org.apache.synapse.securevault.PasswordManager.resolve()

                            String key = eventSource.getName() + "." + propName;

                            if (passwordManager.isInitialized()
                                    && passwordManager.isTokenProtected(key)) {
                                eventSource.putConfigurationProperty(propName, propValue);
                                propValue = passwordManager.resolve(propValue);
                            }

                            manager.addProperty(propName, propValue);
                        }
                    }
View Full Code Here

Examples of org.apache.synapse.securevault.SecretResolver.resolve()

        }

        if (secretResolver != null) {
            if (aliasSecret != null && !"".equals(aliasSecret)) {
                if (secretPrompt == null) {
                    return secretResolver.resolve(aliasSecret);
                } else {
                    return secretResolver.resolve(aliasSecret, secretPrompt);
                }
            }
        }
View Full Code Here

Examples of org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve()

        expect(component.getLocation()).andReturn(null);
        FlowImplementor flow = createFlow2(componentName, 1);
        trainGetFlowForComponent(componentName, flow, delegate);
        trainParser(delegate);
        IRequestCycle cycle = createMock(IRequestCycle.class);
        csr.resolve(cycle, null, componentName, null);
        expect(csr.getSpecification()).andReturn(compSpec);
        expect(compSpec.getComponentClassName()).andReturn(FakeComponent.class.getName());

        programFlowBorder(csr, cycle);
View Full Code Here

Examples of org.apache.tapestry.resolver.PageSpecificationResolver.resolve()

            // the pool or create as needed.

            PageSpecificationResolver pageSpecificationResolver =
                getPageSpecificationResolver(cycle);

            pageSpecificationResolver.resolve(cycle, pageName);

            // Likewise PageLoader

            PageLoader loader = getPageLoader(cycle);
View Full Code Here

Examples of org.apache.tapestry.util.LocalizedContextResourceFinder.resolve()

    public IResourceLocation getLocalization(Locale locale)
    {
        LocalizedContextResourceFinder finder = new LocalizedContextResourceFinder(_context);

        String path = getPath();
        LocalizedResource localizedResource = finder.resolve(path, locale);

        if (localizedResource == null)
            return null;

        String localizedPath = localizedResource.getResourcePath();
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.