import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
import org.onap.appc.Constants;
-import org.onap.appc.adapter.chef.impl.ChefAdapterImpl;
+import org.onap.appc.adapter.chef.impl.ChefAdapterFactory;
import org.onap.appc.configuration.Configuration;
import org.onap.appc.configuration.ConfigurationFactory;
import org.onap.appc.i18n.Msg;
*/
private Configuration configuration = ConfigurationFactory.getConfiguration();
+
/**
* Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start
* this bundle. This method can be used to register services or to allocate any resources that this bundle needs.
String appName = readApplicationNameFromProperties();
logger.info(Msg.COMPONENT_INITIALIZING, appName, ADAPTER_NAME);
- adapter = new ChefAdapterImpl();
+ adapter = new ChefAdapterFactory().create();
if (registration == null) {
logger.info(Msg.REGISTERING_SERVICE, appName, ADAPTER_NAME,
ChefAdapter.class.getSimpleName());