// create and activate firewall manager
FirewallManagerFactoryImpl firewallManagerFactory = new FirewallManagerFactoryImpl();
firewallManagerFactory.activateComponent();
Ec2FirewallSupport ec2fw = new Ec2FirewallSupport();
ec2fw.activateComponent();
firewallManagerFactory.bindFirewallSupport(ec2fw);
NovaFirewallSupport novafw = new NovaFirewallSupport();
novafw.activateComponent();
firewallManagerFactory.bindFirewallSupport(novafw);
// create and activate provider