Hi Community,
I want to understand how to use some of the classes/implementations which are not available directly from ComponentAccessor.
Example: If I want to use userManager or customFieldManger (public APIs), I can invoke the ComponentAccessor to get these. If I want to access classes/implementations like LoginStore or LoginInfo, I am not sure how should I inject in my groovy script.
ComponentAccessor.getOSGiComponentInstanceOfType(LoginStoreImpl.class) is returning null on which I cannot apply any method. I am not sure whats the best way to instantiate.
Any tips on how should I instantiate and use these kind classes which are not marked @PublicAPI
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.