Using classes from a bundle inside CRXDE lite
If I have a bundle imported into AEM using http://localhost:4502/system/console/bundles and I do not have any Interfaces exposed as Services but my bundle is active and has the package with my class in the export packages.
The examples I have come across in the documentation use something like the below example
com.adobe.cq.KeyService keyService = sling.getService(com.adobe.cq.KeyService.class);
However if the KeyService interface is not listed with a service id then when it is called a null pointer exception is raised.
Can one gain access to a class in the JSP if it is not shown with a service id. In my case I have implemented my interface and use @Component and @Service on the implementation class but it does not show any service id in the Web Console screen.