QuestionQ16

No official topic/domain breakdown was publicly listed on the Adobe certification page or prep guide page I could access for AD0-E137

What is the proper way to implement the OSGi service class for this interface?

public interface SimpleService \{  
    String getMessage();  
\}  
Explanation

An OSGi Declarative Services component should register the service using the interface type, SimpleService.class, while the component class implements that interface. The service attribute specifies the types under which the component is registered, and a component implementation must implement every interface it provides. A Java class implements an interface; it does not extend one.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!