A custom application contains a service component com.proj.ServiceComponent. A developer needs to configure the string value name and integer value intVal. The actualconfiguration must be deployed using a content package.
What should the developer do to meet these requirements?
- "Use a file com.proj.ServiceComponent.cfg with content
name=""Service name""
intVal=I""5""" - "Use a file com.proj.ServiceComponent.configwith content name=""Service name""
intVal=I""5""" - "Use a file com.proj.ServiceComponent.xml with content <?xml version=""1.0"" encoding=""UTF-8""?>
<jcr:root jcr:primaryType=""sling:OsgiConfig""
name=""Service Name""
intVal=""5""/>" - "Use a file com.proj.ServiceComponent.xml with content <?xml version=""1.0"" encoding=""UTF-8""?>
<jcr:root xmlns:jcr=""http://www.jcp.org/jcr/1.0"" jcr:primaryType=""sling:OsgiConfig"" name=""Service Name""
intVal=""{Integer}5""/>"
Reveal Solution Next Question