A developer is creating a new OSGi bundle com.custom.package.b to expose new services.
com.custom.package.a is already installed and active in the system and has the following package definition:
The system console shows the following package availability:
Bundle com.custom.package.b to be installed has the following packagedefinition:
What will happen when the developer uploads the bundle com.custom.package.b into the system?
A developer creates two custom classes. ClassA has the following code:
package com.aem.abc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ClassA {
private static final Logger logger = LoggerFactory.getLogger(this.getClass());
public void classAMethod() {
logger.debug("Message from Class A method");
}
}
The developer createsa custom log custom.log with debug level in OSGi sling log support for the Java package com.aem.abc. The developer adds another class ClassB with the following code:
package com.aem.xyz;
import org.slf4j.Logger;
importorg.slf4j.LoggerFactory;
public class ClassB {
private static final Logger logger = LoggerFactory.getLogger(this.getClass());
public void classBMethod() {
logger.debug("Message from Class B method");
}
}
Which action mustthe developer take to see the log messages in the same file from both classes?
A custom AEMapplication has a run time dependency to a third party OSGi bundle that is NOT included in out-of-the-box AEM. The third party dependency needs to be available for multiple applications and be upgraded separately from the custom AEM application.
How should a developer make sure that the bundle is installed on all environments?
A developer is working on an HTL script for a custom component. The script has the following requirements:
* This script must list the title of every child page of the current page.
* If a child page does not have any children, then its title should link directlyto that page.
* If a child page has children, then the title of every one of its children should be listed be-neath its title.
* The title of every grandchild page should link directly to that page.
Which HTL script should the developer use to meet these requirements?
Which maven plugin is required to install a content package on a local AEM environment using maven?
A developer installs the latest Service pack to a local AEM author instance.
How should the developer install this package on the publish instance?
A developer wants to extend AEM Core Components to create a custom Carousel Component.
How should the developer extend the Core Components?
A developer wants to change the log level for a custom API.
Which OSGi configuration should the developer modify?