Examples of service()


Examples of org.apache.avalon.excalibur.testcase.FullLifecycleComponent.service()

    {
        FullLifecycleComponent component = new FullLifecycleComponent();

        component.enableLogging( new NullLogger() );
        component.contextualize( new DefaultContext() );
        component.service( new DefaultServiceManager() );
        component.configure( new DefaultConfiguration( "", "" ) );
        component.parameterize( new Parameters() );
        component.initialize();
        component.start();
        component.suspend();
View Full Code Here

Examples of org.apache.cocoon.components.flow.util.PipelineUtil.service()

        ContinuationContext context = getContext();

        PipelineUtil pipeUtil = new PipelineUtil();
        try {         
            pipeUtil.contextualize(context.getAvalonContext());
            pipeUtil.service(context.getServiceManager());
            pipeUtil.processToStream(uri, bizdata, out);
        } catch (Exception e) {
            throw new CascadingRuntimeException("Cannot process pipeline to '"+uri+"'", e);
        } finally {
            pipeUtil.dispose();
View Full Code Here

Examples of org.apache.cocoon.components.web3.Web3DataSource.service()

                            ClassUtils.getClassLoader());
                    pool = (Web3DataSource) theClass.newInstance();
                    if (pool instanceof LogEnabled) {
                        ((LogEnabled) pool).enableLogging(getLogger());
                    }
                    pool.service(this.manager);
                    pool.configure(c);
                    pool.initialize();
                    Web3DataSourceSelectorImpl.pools.put(obj, pool);
                }
            }
View Full Code Here

Examples of org.apache.etch.compiler.ast.Except.service()

    return "CLASSID_" + n.efqname(this).toUpperCase();
  }

  public String getClassIdVarName(Thrown t) {
    Except p = (Except) t.getNamed();
    return "CLASSID_" + p.service().name().toString().toUpperCase() + "_"
        + p.name().toString().toUpperCase();
  }

  public Except getExcept(Thrown t) {
    Except e = (Except) t.getNamed();
View Full Code Here

Examples of org.apache.etch.compiler.ast.Struct.service()

      if (n.isStruct() || n.isExcept()) {
        if (n.isStruct()) {
          Struct s = (Struct) n;
          return String.format(
              "EtchValidatorCustom::Get(runtime, %d, %s::TYPE(), true, tmpValue);",
              type.dim(), s
              .service().name() + "::" + n.efqname(this));
        }
        Except e = (Except) n;
        return String.format(
            "EtchValidatorCustom::Get(runtime, %d, %s::TYPE(), true, tmpValue);", type.dim(), e
View Full Code Here

Examples of org.apache.excalibur.source.impl.SourceResolverImpl.service()

        selector.put( "resource", factory );

        final DefaultServiceManager manager = new DefaultServiceManager();
        manager.put( SourceFactory.ROLE + "Selector", selector );

        resolver.service( manager );


        logger.debug( "resolver created - but is this correct ?" );

        //
View Full Code Here

Examples of org.apache.felix.webconsole.AbstractWebConsolePlugin.service()

            // wrap the response for localization and template variable replacement
            request = wrapRequest(request, locale);
            response = wrapResponse(request, response, plugin);

            plugin.service(request, response);
        }
        else
        {
            final String body404 = MessageFormat.format(
                resourceBundleManager.getResourceBundle(bundleContext.getBundle(), locale).getString(
View Full Code Here

Examples of org.apache.james.mailetcontainer.api.MailProcessor.service()

     * @see org.apache.james.transport.MailProcessor#service(org.apache.mailet.Mail)
     */
    public void service(Mail mail) throws MessagingException {
        MailProcessor processor = getProcessor(mail.getState());
        if (processor != null) {
            processor.service(mail);
        } else {
            throw new MessagingException("No processor found for mail " + mail.getName() + " with state " + mail.getState());
        }
    }

View Full Code Here

Examples of org.apache.james.transport.mailets.RemoteDelivery.service()

        String sender = "test@localhost";
        String recipient = "test@localhost";
        MimeMessage mm = new MimeMessage(Session.getDefaultInstance(new Properties()),new ByteArrayInputStream(sources.getBytes()));
        MailImpl mail = new MailImpl("name",new MailAddress(sender),Arrays.asList(new MailAddress[] {new MailAddress(recipient)}),mm);
       
        rd.service(mail);
       
        while (outgoingSpool.size() > 0) {
            Thread.sleep(1000);
        }
View Full Code Here

Examples of org.apache.jasper.servlet.JspServletWrapper.service()

                .size()]), bundleClassLoader));
      }
    }

    try {
      wrapper.service(request, response, precompile);
    } catch (FileNotFoundException fnfe) {
      handleMissingResource(request, response, jspUri);
    }

  }
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.