Expand my Community achievements bar.

SOLVED

how to migrate this SCR Property to OSGI R7

Avatar

Level 4

 

I would like to migrate the below code from SCR TO OSGI R7 for aemaacs.
does anyone know that how to migrate the below code to osgi R7?

// @Property(name = SlingConstants.PROPERTY_ADAPTER_CLASSES)
// protected static final String[] ADAPTER_CLASSES = {Country.class.getName()};
//
// @Property(name = SlingConstants.PROPERTY_ADAPTABLE_CLASSES)
// protected static final String[] ADAPTABLE_CLASSES = {Resource.class.getName(), Page.class.getName(),
// SlingHttpServletRequest.class.getName()};
1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor