}
protected void bootstrapComponent(RegistryComponent component, Object bootstrap) throws Exception {
if(bootstrap instanceof Bootstrap) {
Bootstrap bs = (Bootstrap)bootstrap;
InstallationContextImpl ctx = new InstallationContextImpl(component, bs);
bs.init(ctx);
ctx.install();
} else {
throw new IllegalArgumentException("For JBI registry Boostrap class must be of type: " + Bootstrap.class.getName());
}
}