return result;
}
}));
// create a firewall allowing only localhosts to connect
WhitelistFilter firewall = new WhitelistFilter();
try
{
firewall.allowAll(InetAddress.getAllByName("127.0.0.1"));
firewall.allow(InetAddress.getLocalHost());
pipeline.addLast("firewall", firewall);
}
catch (UnknownHostException e)
{
_controller.getLog().throwing(JVMController.class.getName(), "start", e);