com.cognifide.slice.cq.module
Class CurrentPageModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.cognifide.slice.cq.module.CurrentPageModule
All Implemented Interfaces:
com.google.inject.Module

public final class CurrentPageModule
extends com.google.inject.AbstractModule


Constructor Summary
CurrentPageModule()
           
 
Method Summary
protected  void configure()
           
 com.day.cq.wcm.api.Page getCurrentPage(com.day.cq.wcm.api.PageManager pageManager, String currentPagePath)
           
 String getCurrentPagePath(String currentResourcePath, PathUtils pathUtils)
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentPageModule

public CurrentPageModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

getCurrentPage

@Provides
public com.day.cq.wcm.api.Page getCurrentPage(com.day.cq.wcm.api.PageManager pageManager,
                                                       String currentPagePath)

getCurrentPagePath

@Provides
public String getCurrentPagePath(String currentResourcePath,
                                          PathUtils pathUtils)


Copyright © 2012-2013 Cognifide Limited. All Rights Reserved.