{
Log.debug("Cannot configure webapp after it is started");
return;
}
DiameterFactoryImpl factory = new DiameterFactoryImpl();
Node node = (Node) context.getServer().getAttribute(Node.class.getName());
factory.setNode(node);
factory.setAppContext((SipAppContext) context);
context.setAttribute(DiameterFactory.class.getName(), factory);
context.addDecorator(new DiameterDecorator((DiameterContext) node.getHandler(), context));