View Javadoc

1   package com.atlassian.pageobjects.elements;
2   
3   import com.atlassian.pageobjects.elements.search.PageElementSearch;
4   import com.atlassian.pageobjects.internal.elements.search.GlobalPageElementSearch;
5   import com.google.inject.Binder;
6   import com.google.inject.Module;
7   
8   /**
9    * Guice module that adds bindings for classes required by the elements
10   */
11  public class ElementModule implements Module
12  {
13      public void configure(Binder binder)
14      {
15          binder.bind(ElementByPostInjectionProcessor.class);
16          binder.bind(PageElementFinder.class).to(GlobalElementFinder.class);
17          binder.bind(PageElementSearch.class).to(GlobalPageElementSearch.class);
18      }
19  }