(what can be injected ootb?)
...
Below table lists what objects are provided by Slice out of the box.
Class | Annotation | Description | Module |
---|---|---|---|
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.String | com.cognifide.slice.api.qualifier.RequestedResource | ||
com.cognifide.slice.api.execution.ExecutionContextStack | |||
java.lang.String | com.cognifide.slice.api.qualifier.CurrentResourcePath | ||
java.lang.String | com.cognifide.slice.api.qualifier.RequestedResourcePath | ||
java.lang.String | com.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.String | com.cognifide.slice.api.qualifier.Extension | ||
java.lang.String | com.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.String | com.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.Page | com.cognifide.slice.cq.qualifier.CurrentPage | CurrentPageModule | |
java.lang.String | com.cognifide.slice.cq.qualifier.CurrentPagePath | ||
com.day.cq.wcm.api.Page | com.cognifide.slice.cq.qualifier.RequestedPage | RequestedPageModule | |
java.lang.String | com.cognifide.slice.cq.qualifier.RequestedPagePath | ||
com.cognifide.slice.api.link.Link | com.cognifide.slice.cq.qualifier.RequestedLink | LinkModule | |
com.day.cq.dam.api.Asset | DamModule | ||
com.day.cq.wcm.api.WCMMode | CQModule | ||
java.lang.String | com.cognifide.slice.cq.qualifier.CurrentTemplatePath | TemplateModule |