Package org.apache.wicket.cdi

Examples of org.apache.wicket.cdi.CdiConfiguration


  @Override
  public Url urlFor(IRequestHandler handler)
  {
    Url ret = super.urlFor(handler);
    final CdiConfiguration configuration = CdiConfiguration.get(getApplication());
    Page page = ConversationPropagator.getPage(handler);
    if (configuration.getPropagation().propagatesVia(handler, page))
    {
      if (page != null)
      {
        String cid = ConversationPropagator.getConversationIdFromPage(page);
        ret.addQueryParameter(ConversationPropagator.CID, cid);
View Full Code Here


  @Override
  protected void init()
  {
    super.init();
    new CdiConfiguration().configure(this);
  }
View Full Code Here

  protected void init()
  {
    super.init();

    // configure wicket/cdi
    new CdiConfiguration().configure(this);
  }
View Full Code Here

  protected void init()
  {
    super.init();

    // configure wicket/cdi
    new CdiConfiguration().configure(this);

    mountPage("injection", InjectionPage.class);
    mountPage("conversation", ConversationPage1.class);
    mountPage("autoConversation", AutoConversationPage1.class);
  }
View Full Code Here

    // lookup bean manager from Weld's servlet listener
    BeanManager manager = (BeanManager)getServletContext().getAttribute(
      Listener.BEAN_MANAGER_ATTRIBUTE_NAME);

    // configure wicket/cdi
    new CdiConfiguration(manager).configure(this);
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.cdi.CdiConfiguration

Copyright © 2018 www.massapicom. 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.