@Override
public ProtocolMetaData deploy(final Archive<?> archive) throws DeploymentException {
try {
// Export the bundle bytes
ZipExporter exporter = archive.as(ZipExporter.class);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
exporter.exportTo(baos);
String location = archive.getName();
ByteArrayInputStream inputStream = new ByteArrayInputStream(baos.toByteArray());
log.info("Installing bundle: " + location);
installBundle(location, inputStream);