On Sunday, March 29, 2020 5:14:48 PM CEST JCR wrote:
> > Am Sa., 28. März 2020 um 20:55 Uhr schrieb JCR :
> >> Hello
Hi Juerg,
> >> I wrote a very simple POJO, built it as OSGi bundle and deployed it to
> >> Sling11. Here's the source:
> >>
> >> package rome.testly.testly1;
> >> import org.osgi.
Hi Jürg
Hi Jörg
>
> The class is declared as @Component (see above). Do I need any other
> declaration to make the export happen?
>
>
>
You need to have the package name appear in the "exported packages" section
of the bundle. The maven bundle plugin has some heuristics for reasonable
defaults.
Ca
Am Sa., 28. März 2020 um 20:55 Uhr schrieb JCR :
Hello
I wrote a very simple POJO, built it as OSGi bundle and deployed it to
Sling11. Here's the source:
package rome.testly.testly1;
import org.osgi.service.component.annotations.Component;
@Component(service=SlingFutil.class )
public class