{"id":17700,"date":"2015-02-28T11:25:37","date_gmt":"2015-02-28T05:55:37","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=17700"},"modified":"2016-08-30T11:01:23","modified_gmt":"2016-08-30T05:31:23","slug":"creating-osgi-factory-configurations-in-aem","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/","title":{"rendered":"Creating OSGI Factory Configurations in AEM"},"content":{"rendered":"<p><a title=\"AEM Development\" href=\"https:\/\/2thenew.online\/wcm\/cq-aem-development-consulting\">AEM<\/a> houses a powerful open source framework in its technology\u00a0stack,<b><i>Apache Felix<\/i><\/b>. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations.<\/p>\n<p>OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi provides that is : ability to create <i>Factory Configurations. Factory Configurations <\/i>is a way to create a single service, and bind multiple configurations to it\u00a0\u00a0&amp; then consume those configurations from different classes\/Services. You all might have used Logger service provided by CQ out of the box, logger is an example of factory configuration service.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/02\/ig_blog.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17704\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/02\/ig_blog.png\" alt=\"ig_blog_CQ_FactoryConfig\" width=\"1158\" height=\"351\" \/><\/a><\/p>\n<p>Here are the steps for how to create factory configuration in CQ.<\/p>\n<p><i>Step 1:<\/i><\/p>\n<p>Firstly create a Component\/Service that\u00a0holds configurations values. This component will act a interface for adding properties of multiple configurations. Key for creating this\u00a0Component\/Service class is that declare this class as a <b><i>configurationFactory<\/i><\/b> and pass configuration policy as <i><b>required<\/b>. Here is the sample code :<\/i><\/p>\n<pre><code>@Component(label = \"Factory configuration\", immediate = true, enabled = true, \r\nmetatype = true, \r\ndescription = \"This is factory configuration which acts as a interface for allowing user to enter property values\",\r\npolicy = ConfigurationPolicy.REQUIRE, configurationFactory = true)\r\n@Property(name = \"dummy.prop\", label = \"Dummy property\", description = \"This is just dummy property\", value = \"Dummy Value\")\r\n public class FactoryConfig { \u00a0 \u00a0 \u00a0\r\n \u00a0 \u00a0 \u00a0private static final Logger LOGGER = LoggerFactory.getLogger(FactoryConfig.class); \u00a0 \u00a0 \u00a0\r\n\r\n \u00a0 \u00a0 \u00a0@Activate \u00a0 \u00a0 \u00a0\r\n \u00a0 \u00a0 \u00a0public void activate(ComponentContext componentContext) { \u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Dictionary properties = componentContext.getProperties(); \u00a0 \u00a0 \u00a0\u00a0 \r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0String dummyProperty = PropertiesUtil.toString(properties.get(\"dummy.prop\"), \"\");\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0LOGGER.info(\"Read the dummy property value : \" + dummyProperty);\r\n \u00a0 \u00a0 \u00a0}\r\n<\/code><\/pre>\n<p><i>Step 2:<\/i><\/p>\n<p>Now that you have created the interface that takes input from user, create a service that actually uses the FactoryConfig Component\/Service to add configuration and accept values of properties. For creating this service we will use\u00a0<b>dynamic binding <\/b>of OSGi. We will have to create a collection of FactoryConfig class and <b><i>binding &amp; unbinding<\/i><\/b> methods are also required that will add or remove each FactoryConfig object in\/from the collections.<\/p>\n<pre><code>@Component(label = 'Factory Congifuration', description = \"\", immediate = true, metatype = true, enabled = true)\r\n@Service(FactoryConfigConsumer.class)\r\npublic class FactoryConfigConsumer {\r\n\r\n@Reference(referenceInterface = FactoryConfig.class, \r\ncardinality = ReferenceCardinality.OPTIONAL_MULTIPLE,\r\npolicy = ReferencePolicy.DYNAMIC, name = \"Code Brains Demo Factory configurations\")\r\nprivate List factoryConfigs;\r\n\r\n\u00a0 \u00a0 \u00a0protected synchronized void bindFactoryConfig(final FactoryConfig config) {\r\n\u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0if (factoryConfigs == null) {\r\n\u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0factoryConfigs = new ArrayList&lt;FactoryConfig&gt;();\r\n\u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0}\r\n\r\n\u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0factoryConfigs.add(config);\r\n\u00a0 \u00a0 \u00a0}\r\n\r\n\u00a0 \u00a0 \u00a0protected synchronized void unbindFactoryConfig(final FactoryConfig config) {\r\n\u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0factoryConfigs.remove(config);\r\n\u00a0 \u00a0 \u00a0}\r\n}<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AEM houses a powerful open source framework in its technology\u00a0stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi [&hellip;]<\/p>\n","protected":false},"author":111,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":457,"footnotes":""},"categories":[1],"tags":[1235,4847,1662,1659,1660,1663,4850,1661],"class_list":["post-17700","post","type-post","status-publish","format-standard","hentry","category-technology","tag-adobe-cq5","tag-aem","tag-apache-felix","tag-factory-config-in-cq","tag-factory-configurations","tag-felix","tag-osgi","tag-osgi-services"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"ankit.gubrani\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#article\",\"name\":\"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog\",\"headline\":\"Creating OSGI Factory Configurations in AEM\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ankit-gubrani\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2015\\\/02\\\/ig_blog.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#articleImage\"},\"datePublished\":\"2015-02-28T11:25:37+05:30\",\"dateModified\":\"2016-08-30T11:01:23+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#webpage\"},\"articleSection\":\"Technology, Adobe cq5, AEM, Apache Felix, Factory Config in CQ, Factory configurations, Felix, OSGI, OSGI services\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#listItem\",\"name\":\"Creating OSGI Factory Configurations in AEM\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#listItem\",\"position\":3,\"name\":\"Creating OSGI Factory Configurations in AEM\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ankit-gubrani\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ankit-gubrani\\\/\",\"name\":\"ankit.gubrani\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/54ef089a0f3c2443ab2d596f5049d5b2501014cad6281bbc644f1ad1f70f4583?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"ankit.gubrani\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/\",\"name\":\"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog\",\"description\":\"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/creating-osgi-factory-configurations-in-aem\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ankit-gubrani\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ankit-gubrani\\\/#author\"},\"datePublished\":\"2015-02-28T11:25:37+05:30\",\"dateModified\":\"2016-08-30T11:01:23+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog","description":"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi","canonical_url":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#article","name":"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog","headline":"Creating OSGI Factory Configurations in AEM","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/ankit-gubrani\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2015\/02\/ig_blog.png","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#articleImage"},"datePublished":"2015-02-28T11:25:37+05:30","dateModified":"2016-08-30T11:01:23+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#webpage"},"articleSection":"Technology, Adobe cq5, AEM, Apache Felix, Factory Config in CQ, Factory configurations, Felix, OSGI, OSGI services"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.online\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#listItem","name":"Creating OSGI Factory Configurations in AEM"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#listItem","position":3,"name":"Creating OSGI Factory Configurations in AEM","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/ankit-gubrani\/#author","url":"https:\/\/2thenew.online\/blog\/author\/ankit-gubrani\/","name":"ankit.gubrani","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/54ef089a0f3c2443ab2d596f5049d5b2501014cad6281bbc644f1ad1f70f4583?s=96&d=mm&r=g","width":96,"height":96,"caption":"ankit.gubrani"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#webpage","url":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/","name":"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog","description":"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/ankit-gubrani\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/ankit-gubrani\/#author"},"datePublished":"2015-02-28T11:25:37+05:30","dateModified":"2016-08-30T11:01:23+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog","og:description":"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi","og:url":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Creating OSGI Factory Configurations in AEM | TO THE NEW Blog","twitter:description":"AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"17700","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:12:19","updated":"2024-02-29 08:24:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreating OSGI Factory Configurations in AEM\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Technology","link":"https:\/\/2thenew.online\/blog\/category\/technology\/"},{"label":"Creating OSGI Factory Configurations in AEM","link":"https:\/\/2thenew.online\/blog\/creating-osgi-factory-configurations-in-aem\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/17700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/111"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=17700"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/17700\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=17700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=17700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=17700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}