Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(what can be injected ootb?)

...

Below table lists what objects are provided by Slice out of the box.

ClassAnnotationDescriptionModule
Slice
com.cognifide.slice.api.provider.ModelProvider- SliceModule
com.cognifide.slice.api.provider.ChildrenProvider-  
com.cognifide.slice.api.provider.ClassToKeyMapper   
com.cognifide.slice.api.context.ContextFactory   
java.lang.Stringcom.cognifide.slice.api.qualifier.RequestedResource  
com.cognifide.slice.api.execution.ExecutionContextStack   
java.lang.Stringcom.cognifide.slice.api.qualifier.CurrentResourcePath  
java.lang.Stringcom.cognifide.slice.api.qualifier.RequestedResourcePath  
java.lang.Stringcom.cognifide.slice.api.qualifier.InjectorName  
com.cognifide.slice.api.link.LinkBuilderFactory  LinkModule
com.cognifide.slice.api.link.LinkExternalizer   
com.cognifide.slice.api.link.PathMapper   
com.cognifide.slice.api.context.ContextProviderFactory  ContextModule
Sling
javax.servlet.ServletRequest  SlingModule
javax.servlet.ServletResponse   
org.apache.sling.api.SlingHttpServletRequest   
org.apache.sling.api.SlingHttpServletResponse   
org.apache.sling.api.resource.Resource   
org.apache.sling.api.resource.ResourceResolver   
org.apache.sling.api.request.RequestPathInfo   
java.lang.Stringcom.cognifide.slice.api.qualifier.Extension  
java.lang.Stringcom.cognifide.slice.api.qualifier.Suffix  
java.lang.String[]com.cognifide.slice.api.qualifier.Selectors  
java.util.List<String>com.cognifide.slice.api.qualifier.Selectors  
java.lang.Stringcom.cognifide.slice.api.qualifier.SelectorString  
    
JCR
javax.jcr.query.QueryManager  JcrModule
CQ
com.cognifide.slice.mapper.api.Mapper  CQMapperModule
com.cognifide.slice.cq.PageChildrenProvider  CQModule
com.day.cq.wcm.api.PageManager   
com.day.cq.wcm.api.Pagecom.cognifide.slice.cq.qualifier.CurrentPage CurrentPageModule
java.lang.Stringcom.cognifide.slice.cq.qualifier.CurrentPagePath  
com.day.cq.wcm.api.Pagecom.cognifide.slice.cq.qualifier.RequestedPage RequestedPageModule
java.lang.Stringcom.cognifide.slice.cq.qualifier.RequestedPagePath  
com.cognifide.slice.api.link.Linkcom.cognifide.slice.cq.qualifier.RequestedLink LinkModule
com.day.cq.dam.api.Asset  DamModule
com.day.cq.wcm.api.WCMMode  CQModule
java.lang.Stringcom.cognifide.slice.cq.qualifier.CurrentTemplatePath TemplateModule