LocalUpdate localUpdate = (LocalUpdate) serviceFactory .getContext().getBean(LocalUpdate.class.getName());
    public void saveCurrentSettings()    {        delegate.saveCurrentSettings();        LocalUpdate localUpdate = (LocalUpdate) serviceFactory        		.getContext().getBean(LocalUpdate.class.getName());        localUpdate.flush();    }