Examples of resolve()


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

    public IResourceLocation getLocalization(Locale locale)
    {
        String path = getPath();
        LocalizedResourceFinder finder = new LocalizedResourceFinder(_resolver);

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

        if (localizedResource == null)
            return null;

        String localizedPath = localizedResource.getResourcePath();
View Full Code Here

Examples of org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPool.resolve()

        int magic = dis.readInt(); // 0xCAFEBABE
        int minor = dis.readShort();
        int major = dis.readShort();

        constantPool.read(dis);
        constantPool.resolve();

        // class information
        access_flags = dis.readShort();
        int this_class = dis.readShort();
        fullname = ((ClassCPInfo) constantPool.getEntry(this_class)).getClassName().replace('/', '.');
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.xml.ComponentTypeProcessor.resolve()

        is = getClass().getClassLoader().getResourceAsStream("OSGiTestService.componentType");
        reader = inputFactory.createXMLStreamReader(is);
        ComponentType ct = ctProcessor.read(reader);

        ModelResolver resolver = new TestModelResolver(getClass().getClassLoader());
        ctProcessor.resolve(ct, resolver);
        resolver.addModel(ct);
       
        compositeProcessor.resolve(composite, resolver);

        CompositeBuilderImpl compositeUtil = new CompositeBuilderImpl(assemblyFactory, scaBindingFactory, new DefaultIntentAttachPointTypeFactory(), mapper, null);
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve()

            }
           
            for (Composite composite: composites) {
               
                // Resolve the composite
                compositeProcessor.resolve(composite, resolver);
            }
           
            // Wire the top level component's composite
            buildComposite(composites.get(0), assemblyFactory, scaBindingFactory, interfaceContractMapper);
           
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.xml.MetaComponentProcessor.resolve()

        if (found) {
            Component component = processor.getParsedComponent();
            Composite augmentedComposite = processor.getParsedComposite();
            try {
                processor.resolve(component, contrib.getModelResolver());
                compositeBuilder.attach(augmentedComposite, component);
                ((CompositeActivatorImpl) compositeActivator)
                        .activateComponent(component);
            } catch (Exception e) {
View Full Code Here

Examples of org.apache.tuscany.sca.definitions.xml.SCADefinitionsDocumentProcessor.resolve()

                    SCADefinitions defnSubset = definitionsProcessor.read(null, null, scaDefnUrl);
                    SCADefinitionsUtil.aggregateSCADefinitions(defnSubset, scaDefinitions);
                }
            }
           
            definitionsProcessor.resolve(scaDefinitions, definitionsProcessor.getSCADefinitionsResolver());
        } catch ( ContributionReadException e ) {
            throw new ActivationException(e);
        } catch ( ContributionResolveException e ) {
            throw new ActivationException(e);
        } catch ( IOException e ) {
View Full Code Here

Examples of org.apache.webbeans.container.BeanManagerImpl.resolve()

        Set<Bean<?>> beans = resolveBeans();

        webBeansContext.getResolutionUtil().checkResolvedBeans(beans, ClassUtil.getClazz(injectionClazz), anns, null);
        BeanManagerImpl beanManager = webBeansContext.getBeanManagerImpl();

        Bean<?> bean = beanManager.resolve(beans);

        // since Instance<T> is Dependent, we we gonna use the parent CreationalContext by default
        CreationalContext<?> creationalContext = parentCreationalContext;

        boolean isDependentBean = WebBeansUtil.isDependent(bean);
View Full Code Here

Examples of org.apache.webbeans.container.InjectionResolver.resolve()

            Annotation[] annot = annotationManager.getMethodFirstParameterQualifierWithGivenAnnotation(declaredMethod, Disposes.class);

            InjectionResolver injectionResolver = webBeansContext.getBeanManagerImpl().getInjectionResolver();

            Set<Bean<?>> set = injectionResolver.implResolveByType(type, annot);
            Bean<?> bean = injectionResolver.resolve(set);
            if (bean == null)
            {
                throwUnsatisfiedResolutionException(clazz, declaredMethod, annot);
            }
           
View Full Code Here

Examples of org.apache.wicket.markup.resolver.IComponentResolver.resolve()

            ComponentTag tag = stream.getTag();

            Component resolvedComponent = resolvingContainer.get(tag.getId());
            if (resolvedComponent == null)
            {
              resolvedComponent = componentResolver.resolve(resolvingContainer, stream, tag);
            }

            if (child == resolvedComponent)
            {
              visit.stop(childMarkup);
View Full Code Here

Examples of org.apache.wicket.request.IRequestCycleProcessor.resolve()

  {
    RequestCycle rc = RequestCycle.get();
    IRequestCycleProcessor processor = rc.getProcessor();
    final RequestParameters requestParameters = processor.getRequestCodingStrategy().decode(
      new FormDispatchRequest(rc.getRequest(), url));
    IRequestTarget rt = processor.resolve(rc, requestParameters);
    if (rt instanceof IListenerInterfaceRequestTarget)
    {
      IListenerInterfaceRequestTarget interfaceTarget = ((IListenerInterfaceRequestTarget)rt);
      interfaceTarget.getRequestListenerInterface().invoke(page, interfaceTarget.getTarget());
    }
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.