com.cognifide.slice.cq.module
Class CQModule

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

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


Constructor Summary
CQModule()
           
 
Method Summary
protected  void configure()
           
 com.day.cq.wcm.api.PageManager getPageManager(org.apache.sling.api.resource.ResourceResolver resourceResolver)
           
 com.day.cq.wcm.api.WCMMode getWCMMode(org.apache.sling.api.SlingHttpServletRequest request)
           
 
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

CQModule

public CQModule()
Method Detail

configure

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

getPageManager

@Provides
public com.day.cq.wcm.api.PageManager getPageManager(org.apache.sling.api.resource.ResourceResolver resourceResolver)

getWCMMode

@Provides
public com.day.cq.wcm.api.WCMMode getWCMMode(org.apache.sling.api.SlingHttpServletRequest request)


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