com.cognifide.slice.cq.module
Class RequestedPageModule

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

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


Constructor Summary
RequestedPageModule()
           
 
Method Summary
protected  void configure()
           
 com.day.cq.wcm.api.Page getRequestedPage(String requestedPagePath, com.day.cq.wcm.api.PageManager pageManager)
           
 String getRequestedPagePath(String requestedResourcePath, 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

RequestedPageModule

public RequestedPageModule()
Method Detail

configure

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

getRequestedPage

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

getRequestedPagePath

@Provides
public String getRequestedPagePath(String requestedResourcePath,
                                            PathUtils pathUtils)


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