@SuppressWarnings("unchecked")
public Object addingBundle(Bundle bundle, BundleEvent event) {
Dictionary headers = bundle.getHeaders();
String headerEntry = (String) headers.get("Karaf-Info");
InfoProvider provider = createInfo(headerEntry);
if (provider == null) {
if (logger.isDebugEnabled()) {
logger.debug("Ignore incorrect info {} provided by bundle {}",
headerEntry, bundle.getSymbolicName());
}