You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/12/22 14:23:28 UTC

[6/8] cxf git commit: [CXF-7192] Removing cxf-rt-management-web module, to be restored on demand

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/appended-resources/META-INF/NOTICE
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/appended-resources/META-INF/NOTICE b/rt/management-web/src/main/appended-resources/META-INF/NOTICE
deleted file mode 100644
index cc6e959..0000000
--- a/rt/management-web/src/main/appended-resources/META-INF/NOTICE
+++ /dev/null
@@ -1,12 +0,0 @@
-File json2.min.js has been placed in the public domain.
-
-
-Portions of the file uuid.min.js derives from code marked:
-/*
-Math.uuid.js (v1.4)
-http://www.broofa.com
-mailto:robert@broofa.com
-
-Copyright (c) 2010 Robert Kieffer
-Dual licensed under the MIT and GPL licenses.
-*/

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/LogBrowser.gwt.xml
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/LogBrowser.gwt.xml b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/LogBrowser.gwt.xml
deleted file mode 100644
index a6705e9..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/LogBrowser.gwt.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<module rename-to="logbrowser">
-    <inherits name="com.google.gwt.user.User"/>
-    <inherits name="com.google.gwt.user.theme.standard.Standard"/>
-    <inherits name="com.google.gwt.inject.Inject"/>
-    <inherits name="com.google.gwt.http.HTTP"/>
-    <inherits name="com.google.gwt.json.JSON"/>
-    <inherits name="com.google.gwt.xml.XML"/>
-    <stylesheet src="custom.css"/>
-    <entry-point class="org.apache.cxf.management.web.browser.client.LogBrowser"/>
-    <public path="resources"/>
-    <source path="client"/>
-</module>

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
deleted file mode 100644
index ccbd29d..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
+++ /dev/null
@@ -1,242 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.bootstrapping;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.lang.annotation.Annotation;
-import java.lang.reflect.Type;
-import java.net.JarURLConnection;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Locale;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-import java.util.zip.GZIPOutputStream;
-
-import javax.ws.rs.Consumes;
-import javax.ws.rs.GET;
-import javax.ws.rs.PUT;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.Context;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.MultivaluedMap;
-import javax.ws.rs.core.Response;
-import javax.ws.rs.core.Response.Status;
-import javax.ws.rs.core.Variant;
-import javax.ws.rs.ext.MessageBodyWriter;
-import javax.ws.rs.ext.Provider;
-
-import org.apache.commons.lang3.Validate;
-import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.helpers.IOUtils;
-import org.apache.cxf.jaxrs.ext.MessageContext;
-import org.apache.cxf.jaxrs.provider.json.JSONProvider;
-
-@Path("/browser")
-public class BootstrapStorage {
-    private static final Logger LOGGER = LogUtils.getL7dLogger(BootstrapStorage.class);
-    private final SettingsStorage storage;
-    
-    public BootstrapStorage(final SettingsStorage storage) {
-        Validate.notNull(storage, "provider is null");
-        
-        this.storage = storage;
-    }
-
-    @GET
-    @Path("/settings")
-    @Produces("application/json")
-    public Settings getSettings() {
-
-        //TODO Remove username everywhere
-        String username = "admin";
-
-        Validate.notNull(username, "username is null");
-        Validate.notEmpty(username, "username is empty");
-
-        LOGGER.fine(String.format("Retrieve settings, user='%s'", username));
-
-        return storage.getSettings(username);
-    }
-
-    @PUT
-    @Path("/settings")
-    @Consumes("application/json")
-    public Response setSettings(final Settings settings) {
-
-        //TODO Remove username everywhere
-        String username = "admin";
-
-        Validate.notNull(username, "username is null");
-        Validate.notEmpty(username, "username is empty");
-        Validate.notNull(settings, "settings is null");
-        
-        LOGGER.fine(String.format("Save settings, user='%s'; settings='%s'", username, settings));
-
-        storage.setSettings(username, settings);
-        return Response.ok().build();
-    }
-
-    @GET
-    @Path("{resource:.*}")
-    public Response getResource(@Context final MessageContext mc,
-                                @PathParam("resource") final String resource) {
-        if (isLastModifiedRequest(mc)) {
-            return Response.notModified().build();
-        }
-
-        try {
-            URL url;
-            URL jar = getClass().getProtectionDomain().getCodeSource().getLocation();            
-
-            url = new URL(String.format("jar:%s!/static-content/logbrowser/%s", jar, resource));
-
-            JarURLConnection connection = (JarURLConnection) url.openConnection();
-            if (connection.getContentLength() == -1 || connection.getJarEntry() == null) {
-                return Response.status(Status.NOT_FOUND).build();
-            } else if (connection.getJarEntry().isDirectory()) {
-                return Response.status(Status.FORBIDDEN).build();
-            } else { // correct
-                MediaType mime = getMimeType(mc, resource);
-                StaticFile staticFile = new StaticFile(url, acceptsGzip(mc), mime);
-                
-                Response.ResponseBuilder builder = Response.ok(staticFile);
-                builder.variant(new Variant(mime, (Locale)null, staticFile.isGzipEnabled() ? "gzip" : null));
-
-                return builder.build();
-            }
-        } catch (MalformedURLException e) {
-            return Response.status(Status.BAD_REQUEST).build();
-        } catch (IOException e) {
-            LOGGER.log(Level.SEVERE, "Error occur while retrieve static file", e);
-            return Response.serverError().build();
-        }
-    }
-
-    private boolean isLastModifiedRequest(final MessageContext mc) {
-        return mc.getHttpServletRequest().getHeader("Last-Modified") != null;
-    }
-
-    private MediaType getMimeType(final MessageContext mc, final String resource) {
-        return MediaType.valueOf(mc.getServletContext().getMimeType(resource));
-    }
-
-    private boolean acceptsGzip(final MessageContext mc) {
-        String ae = mc.getHttpServletRequest().getHeader("Accept-Encoding");
-        return ae != null && ae.contains("gzip");
-    }
-
-    private final class StaticFile {
-        private URL url;
-        private boolean isGzipEnabled;
-
-        private StaticFile(URL url, boolean acceptsGzip, MediaType mime) {
-            assert url != null;
-            assert mime != null;
-
-            this.url = url;
-            this.isGzipEnabled = acceptsGzip && "text".equals(mime.getType());
-        }
-
-        public URL getUrl() {
-            return this.url;
-        }
-
-        public boolean isGzipEnabled() {
-            return this.isGzipEnabled;
-        }
-    }
-
-    @Provider
-    public static class StaticFileProvider implements MessageBodyWriter<StaticFile> {
-        
-        public boolean isWriteable(final Class<?> type, final Type genericType,
-                                   final Annotation[] annotations, final MediaType mediaType) {
-            return StaticFile.class.isAssignableFrom(type);
-        }
-
-        public long getSize(final StaticFile staticFile, final Class<?> type, final Type genericType,
-                            final Annotation[] annotations, final MediaType mediaType) {
-            return -1;
-        }
-
-        public void writeTo(final StaticFile staticFile, final Class<?> clazz, final Type genericType,
-                            final Annotation[] annotations, final MediaType type,
-                            final MultivaluedMap<String, Object> headers, final OutputStream os)
-            throws IOException {
-
-            if (staticFile.isGzipEnabled()) {
-                GZIPOutputStream gzip = new GZIPOutputStream(os);
-                try {
-                    IOUtils.copyAndCloseInput(staticFile.getUrl().openStream(), gzip);
-                } finally {
-                    gzip.finish();
-                }
-            } else {
-                IOUtils.copyAndCloseInput(staticFile.getUrl().openStream(), os);
-            }
-        }
-    }
-
-    @Provider
-    public static class SettingsProvider extends JSONProvider<Object> {
-        private static final String LOGGING_NAMESPACE = "http://cxf.apache.org/log";
-        private static final String SUBSCRIPTIONS_ARRAY = "subscriptions";
-
-        public SettingsProvider() {
-            setIgnoreNamespaces(true);
-
-            // Solved common JSON's problem with parsing array, which has only one element 
-            setSerializeAsArray(true);
-            setArrayKeys(Arrays.asList(SUBSCRIPTIONS_ARRAY));
-
-            // Removes namespace from output
-/*
-            setOutTransformElements(new HashMap<String, String>() {
-                private static final long serialVersionUID = -1341932955817405356L;
-
-                {
-                    put("{" + LOGGING_NAMESPACE + "}*", "*");
-                }
-            });
-*/
-            setOutTransformElements(Collections.singletonMap(
-                "{" + LOGGING_NAMESPACE + "}*", "*"));
-
-            // Adds namespace to input
-/*
-            setInTransformElements(new HashMap<String, String>() {
-                private static final long serialVersionUID = -1509522821399368946L;
-
-                {
-                    put("*", "{" + LOGGING_NAMESPACE + "}*");
-                }
-            });
-*/
-            setInTransformElements(Collections.singletonMap(
-                "*", "{" + LOGGING_NAMESPACE + "}*"));
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Settings.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Settings.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Settings.java
deleted file mode 100644
index 5e9d3bd..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Settings.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.bootstrapping;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-
-@XmlRootElement(namespace = "http://cxf.apache.org/log")
-public class Settings {
-    private List<Subscription> subscriptions;
-
-    @XmlElement(name = "subscriptions", namespace = "http://cxf.apache.org/log")
-    public List<Subscription> getSubscriptions() {
-        if (subscriptions == null) {
-            subscriptions = new ArrayList<Subscription>();
-        }
-        return subscriptions;
-    }
-
-    public void setSubscriptions(List<Subscription> subscriptions) {
-        this.subscriptions = subscriptions;
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SettingsStorage.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SettingsStorage.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SettingsStorage.java
deleted file mode 100644
index debc8fa..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SettingsStorage.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.bootstrapping;
-
-public interface SettingsStorage {
-    Settings getSettings(String username);
-
-    void setSettings(String username, Settings settings);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SimpleXMLSettingsStorage.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SimpleXMLSettingsStorage.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SimpleXMLSettingsStorage.java
deleted file mode 100644
index 3017590..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/SimpleXMLSettingsStorage.java
+++ /dev/null
@@ -1,205 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.bootstrapping;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.GregorianCalendar;
-import java.util.List;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import javax.xml.bind.Marshaller;
-import javax.xml.bind.Unmarshaller;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.datatype.DatatypeConfigurationException;
-import javax.xml.datatype.DatatypeFactory;
-import javax.xml.datatype.XMLGregorianCalendar;
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.commons.lang3.Validate;
-import org.apache.cxf.staxutils.StaxUtils;
-
-public class SimpleXMLSettingsStorage implements SettingsStorage {
-    private static final String DEFAULT_FILENAME = "logbrowser-settings.xml";
-    private static final Settings DEFAULT_SETTINGS = new Settings();
-
-    private final String filename;
-    private final Marshaller marshaller;
-
-    private Entries entries;
-
-    public SimpleXMLSettingsStorage() {
-        this(DEFAULT_FILENAME);
-    }
-
-    public SimpleXMLSettingsStorage(final String filename) {
-        Validate.notNull(filename, "filename is null");
-        Validate.notEmpty(filename, "filename is empty");
-        this.filename = filename;
-
-        try {
-            JAXBContext context = JAXBContext.newInstance(Entries.class, Entry.class,
-                    Settings.class, Subscription.class);
-
-            marshaller = context.createMarshaller();
-            marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
-            
-            File file = new File(filename);
-            if (file.exists()) {
-                Unmarshaller unmarshaller = context.createUnmarshaller();
-                XMLStreamReader reader = StaxUtils.createXMLStreamReader(new FileInputStream(file));
-                entries = (Entries) unmarshaller.unmarshal(reader);
-            }
-
-            if (entries == null) {
-                entries = new Entries();
-            }
-        } catch (FileNotFoundException e) {
-            throw new RuntimeException(e);
-        } catch (JAXBException e) {
-            throw new RuntimeException(e);
-        }
-    }
-
-    public synchronized Settings getSettings(final String username) {
-        Validate.notNull(username, "username is null");
-        Validate.notEmpty(username, "username is empty");
-
-        Entry entry = getCachedEntry(username);
-        return entry != null ? entry.getSettings() : DEFAULT_SETTINGS;
-    }
-
-    public synchronized void setSettings(final String username, final Settings settings) {
-        Validate.notNull(username, "username is null");
-        Validate.notEmpty(username, "username is empty");
-
-        Entry entry = getCachedEntry(username);
-        if (entry != null) {
-            entry.setSettings(settings);
-            entry.setModified(getCurrentTime());
-        } else {
-            entries.getEntries().add(new Entry(username, getCurrentTime(), settings));
-        }
-
-        FileOutputStream outputStream = null;
-
-        try {
-            outputStream = new FileOutputStream(filename);
-            marshaller.marshal(entries, outputStream);
-        } catch (JAXBException e) {
-            throw new RuntimeException(e);
-        } catch (FileNotFoundException e) {
-            throw new RuntimeException(e);
-        } finally {
-            if (outputStream != null) {
-                try {
-                    outputStream.close();
-                } catch (IOException e) {
-                    throw new RuntimeException(e);
-                }
-            }
-        }
-    }
-
-    private Entry getCachedEntry(final String username) {
-        assert username != null;
-        assert !"".equals(username);
-
-        for (Entry entry : entries.getEntries()) {
-            if (username.equals(entry.getUsername())) {
-                return entry;
-            }
-        }
-        return null;
-    }
-
-    private XMLGregorianCalendar getCurrentTime() {
-        try {
-            return DatatypeFactory.newInstance()
-                .newXMLGregorianCalendar((GregorianCalendar) GregorianCalendar.getInstance());
-        } catch (DatatypeConfigurationException e) {
-            throw new RuntimeException(e);
-        }
-    }
-
-    @XmlRootElement(namespace = "http://cxf.apache.org/log")
-    private static class Entries {
-        private List<Entry> entries;
-
-        @XmlElement(name = "entry", namespace = "http://cxf.apache.org/log")
-        public List<Entry> getEntries() {
-            if (entries == null) {
-                entries = new ArrayList<Entry>();
-            }
-            return this.entries;
-        }
-    }
-
-    @XmlRootElement(namespace = "http://cxf.apache.org/log")
-    private static class Entry {
-        private Settings settings;
-        private String username;
-        private XMLGregorianCalendar modified;
-
-        private Entry() { }
-
-        Entry(final String username, final XMLGregorianCalendar modified, final Settings settings) {
-            this.settings = settings;
-            this.username = username;
-            this.modified = modified;
-        }
-
-        @XmlElement(required = true, namespace = "http://cxf.apache.org/log")
-        public Settings getSettings() {
-            return settings;
-        }
-
-        public void setSettings(Settings value) {
-            this.settings = value;
-        }
-
-        @XmlAttribute(name = "username", namespace = "http://cxf.apache.org/log")
-        public String getUsername() {
-            return username;
-        }
-
-        public void setUsername(String value) {
-            this.username = value;
-        }
-
-        @XmlAttribute(name = "modified", namespace = "http://cxf.apache.org/log")
-        @XmlSchemaType(name = "date")        
-        public XMLGregorianCalendar getModified() {
-            return modified;
-        }
-
-        public void setModified(XMLGregorianCalendar value) {
-            this.modified = value;
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Subscription.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Subscription.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Subscription.java
deleted file mode 100644
index a0462b8..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/Subscription.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.bootstrapping;
-
-import javax.xml.bind.annotation.XmlElement;
-
-public class Subscription {
-    private String id;
-    private String name;
-    private String url;
-
-    @XmlElement(required = true, namespace = "http://cxf.apache.org/log")
-    public String getId() {
-        return id;
-    }
-
-    public void setId(String id) {
-        this.id = id;
-    }
-
-    @XmlElement(required = true, namespace = "http://cxf.apache.org/log")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    @XmlElement(required = true, namespace = "http://cxf.apache.org/log")
-    public String getUrl() {
-        return url;
-    }
-
-    public void setUrl(String url) {
-        this.url = url;
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/DefaultEventBus.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/DefaultEventBus.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/DefaultEventBus.java
deleted file mode 100644
index 8fafdad..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/DefaultEventBus.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client;
-
-import com.google.gwt.event.shared.SimpleEventBus;
-import com.google.inject.Inject;
-import com.google.inject.Singleton;
-
-@Singleton
-public class DefaultEventBus extends SimpleEventBus  {
-
-    @Inject
-    public DefaultEventBus() {
-        super();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Dispatcher.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Dispatcher.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Dispatcher.java
deleted file mode 100644
index 4b6edd8..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Dispatcher.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.event.shared.EventBus;
-import com.google.gwt.user.client.ui.RootLayoutPanel;
-import com.google.inject.Inject;
-import com.google.inject.Provider;
-
-import org.apache.cxf.management.web.browser.client.event.GoToBrowserEvent;
-import org.apache.cxf.management.web.browser.client.event.GoToBrowserEventHandler;
-import org.apache.cxf.management.web.browser.client.event.GoToEditCriteriaEvent;
-import org.apache.cxf.management.web.browser.client.event.GoToEditCriteriaEventHandler;
-import org.apache.cxf.management.web.browser.client.event.GoToSettingsEvent;
-import org.apache.cxf.management.web.browser.client.event.GoToSettingsEventHandler;
-import org.apache.cxf.management.web.browser.client.service.settings.SettingsFacade;
-import org.apache.cxf.management.web.browser.client.service.settings.SettingsFacade.StorageStrategy;
-import org.apache.cxf.management.web.browser.client.ui.Presenter;
-import org.apache.cxf.management.web.browser.client.ui.browser.BrowsePresenter;
-import org.apache.cxf.management.web.browser.client.ui.browser.EditCriteriaPresenter;
-import org.apache.cxf.management.web.browser.client.ui.settings.SettingsPresenter;
-
-public class Dispatcher {
-
-    @Nonnull
-    private final EventBus eventBus;
-
-    @Nonnull
-    private final Provider<BrowsePresenter> browseProvider;
-
-    @Nonnull
-    private final Provider<EditCriteriaPresenter> editCriteriaProvider;
-
-    @Nonnull
-    private final Provider<SettingsPresenter> settingsProvider;
-
-    @Nonnull
-    private final SettingsFacade settingsFacade;
-
-    @Nullable
-    private Presenter currentPresenter;
-
-    @Inject
-    public Dispatcher(@Nonnull final EventBus eventBus,
-                      @Nonnull final SettingsFacade settingsFacade,
-                      @Nonnull final Provider<BrowsePresenter> browseProvider,
-                      @Nonnull final Provider<EditCriteriaPresenter> editCriteriaProvider,
-                      @Nonnull final Provider<SettingsPresenter> settingsProvider) {
-        this.eventBus = eventBus;
-        this.browseProvider = browseProvider;
-        this.editCriteriaProvider = editCriteriaProvider;
-        this.settingsProvider = settingsProvider;
-        this.settingsFacade = settingsFacade;
-
-        bind();
-    }
-
-    public void start() {
-        settingsFacade.initialize(StorageStrategy.REMOTE);
-        eventBus.fireEvent(new GoToBrowserEvent());
-    }
-
-    private void go(@Nonnull final Presenter newPresenter) {
-        if (currentPresenter != null) {
-            currentPresenter.unbind();
-        }
-
-        currentPresenter = newPresenter;
-
-        currentPresenter.go(RootLayoutPanel.get());
-    }
-
-    private void bind() {
-
-        eventBus.addHandler(GoToBrowserEvent.TYPE, new GoToBrowserEventHandler() {
-            public void onGoToBrowser(@Nonnull final GoToBrowserEvent event) {
-                go(browseProvider.get());
-            }
-        });
-
-        eventBus.addHandler(GoToEditCriteriaEvent.TYPE, new GoToEditCriteriaEventHandler() {
-            public void onGoToEditCriteria(@Nonnull final GoToEditCriteriaEvent event) {
-                go(editCriteriaProvider.get());
-            }
-        });
-
-        eventBus.addHandler(GoToSettingsEvent.TYPE, new GoToSettingsEventHandler() {
-
-            public void onGoToSettings(@Nonnull final GoToSettingsEvent event) {
-                go(settingsProvider.get());
-            }
-        });
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Injector.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Injector.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Injector.java
deleted file mode 100644
index a866cb1..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Injector.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client;
-
-import com.google.gwt.inject.client.GinModules;
-import com.google.gwt.inject.client.Ginjector;
-
-import org.apache.cxf.management.web.browser.client.ui.ErrorDialog;
-import org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources;
-
-@GinModules(Module.class)
-public interface Injector extends Ginjector {
-    Dispatcher getDispatcher();
-    
-    LogBrowserResources getResources();
-
-    ErrorDialog getErrorDialog();
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/LogBrowser.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/LogBrowser.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/LogBrowser.java
deleted file mode 100644
index ecb9559..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/LogBrowser.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.core.client.GWT;
-
-import org.apache.cxf.management.web.browser.client.ui.ErrorDialog;
-
-public class LogBrowser implements EntryPoint {
-
-    @Nonnull
-    private final Injector injector = GWT.create(Injector.class);
-
-    public void onModuleLoad() {
-        injector.getResources().css().ensureInjected();
-        
-        GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() {
-
-            public void onUncaughtException(@Nonnull final Throwable throwable) {
-                ErrorDialog errorDialog = injector.getErrorDialog();
-                errorDialog.setException(throwable);
-                errorDialog.center();
-            }
-        });
-        
-        injector.getDispatcher().start();
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Module.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Module.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Module.java
deleted file mode 100644
index d0e8153..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/Module.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client;
-
-import com.google.gwt.event.shared.EventBus;
-import com.google.gwt.inject.client.AbstractGinModule;
-import com.google.inject.name.Names;
-
-import org.apache.cxf.management.web.browser.client.service.settings.IdentifierGenerator;
-import org.apache.cxf.management.web.browser.client.service.settings.IdentifierGeneratorImpl;
-import org.apache.cxf.management.web.browser.client.service.settings.RemoteStorageProxy;
-import org.apache.cxf.management.web.browser.client.service.settings.RemoteStorageProxyImpl;
-import org.apache.cxf.management.web.browser.client.ui.BindStrategy;
-import org.apache.cxf.management.web.browser.client.ui.DialogBindStrategyImpl;
-import org.apache.cxf.management.web.browser.client.ui.WidgetBindStrategyImpl;
-import org.apache.cxf.management.web.browser.client.ui.browser.BrowseView;
-import org.apache.cxf.management.web.browser.client.ui.browser.BrowseViewImpl;
-import org.apache.cxf.management.web.browser.client.ui.browser.EditCriteriaView;
-import org.apache.cxf.management.web.browser.client.ui.browser.EditCriteriaViewImpl;
-import org.apache.cxf.management.web.browser.client.ui.browser.NavigationSidebarView;
-import org.apache.cxf.management.web.browser.client.ui.browser.NavigationSidebarViewImpl;
-import org.apache.cxf.management.web.browser.client.ui.browser.ViewerView;
-import org.apache.cxf.management.web.browser.client.ui.browser.ViewerViewImpl;
-import org.apache.cxf.management.web.browser.client.ui.common.NavigationHeaderView;
-import org.apache.cxf.management.web.browser.client.ui.common.NavigationHeaderViewImpl;
-import org.apache.cxf.management.web.browser.client.ui.settings.SettingsView;
-import org.apache.cxf.management.web.browser.client.ui.settings.SettingsViewImpl;
-import org.apache.cxf.management.web.browser.client.ui.settings.SubscriptionDialog;
-import org.apache.cxf.management.web.browser.client.ui.settings.SubscriptionDialogImpl;
-
-public class Module extends AbstractGinModule {
-
-    @Override
-    protected void configure() {
-        bind(EventBus.class).to(DefaultEventBus.class);
-        bind(IdentifierGenerator.class).to(IdentifierGeneratorImpl.class);
-        bind(SettingsView.class).to(SettingsViewImpl.class);
-        bind(SubscriptionDialog.class).to(SubscriptionDialogImpl.class);
-        bind(BrowseView.class).to(BrowseViewImpl.class);
-        bind(NavigationHeaderView.class).to(NavigationHeaderViewImpl.class);
-        bind(NavigationSidebarView.class).to(NavigationSidebarViewImpl.class);
-        bind(EditCriteriaView.class).to(EditCriteriaViewImpl.class);
-        bind(ViewerView.class).to(ViewerViewImpl.class);
-        bind(RemoteStorageProxy.class).to(RemoteStorageProxyImpl.class);
-
-        //TODO move it to view class:
-
-        bind(BindStrategy.class)
-                .annotatedWith(Names.named("BindStrategyForBrowser"))
-                .to(WidgetBindStrategyImpl.class);
-
-        bind(BindStrategy.class)
-                .annotatedWith(Names.named("BindStrategyForNavigationHeader"))
-                .to(WidgetBindStrategyImpl.class);
-
-        bind(BindStrategy.class)
-                .annotatedWith(Names.named("BindStrategyForEditCriteria"))
-                .to(DialogBindStrategyImpl.class);        
-
-        bind(BindStrategy.class)
-                .annotatedWith(Names.named("BindStrategyForNavigationSidebar"))
-                .to(WidgetBindStrategyImpl.class);
-
-        bind(BindStrategy.class)
-                .annotatedWith(Names.named("BindStrategyForSettings"))
-                .to(WidgetBindStrategyImpl.class);
-
-        bind(BindStrategy.class)
-                .annotatedWith(Names.named("BindStrategyForViewer"))
-                .to(WidgetBindStrategyImpl.class);
-        
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEvent.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEvent.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEvent.java
deleted file mode 100644
index dd64b4d..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEvent.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.GwtEvent;
-import org.apache.cxf.management.web.browser.client.service.browser.FilterOptions;
-
-public class ChangedFilterOptionsEvent extends GwtEvent<ChangedFilterOptionsEventHandler> {
-    public static final Type<ChangedFilterOptionsEventHandler> TYPE =
-        new Type<ChangedFilterOptionsEventHandler>();
-
-    @Nonnull private FilterOptions filterOptions;
-
-    public ChangedFilterOptionsEvent(@Nonnull FilterOptions filterOptions) {
-        this.filterOptions = filterOptions;
-    }
-
-    @Nonnull
-    public FilterOptions getFilterOptions() {
-        return filterOptions;
-    }
-
-    @Override @Nonnull
-    public Type<ChangedFilterOptionsEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    @Override
-    protected void dispatch(@Nonnull final ChangedFilterOptionsEventHandler handler) {
-        handler.onChangedFilterOptions(this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEventHandler.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEventHandler.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEventHandler.java
deleted file mode 100644
index 265cab1..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedFilterOptionsEventHandler.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface ChangedFilterOptionsEventHandler extends EventHandler {
-    void onChangedFilterOptions(ChangedFilterOptionsEvent event);
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEvent.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEvent.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEvent.java
deleted file mode 100644
index 5160068..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEvent.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class ChangedSubscriptionsEvent extends GwtEvent<ChangedSubscriptionsEventHandler> {
-    public static final Type<ChangedSubscriptionsEventHandler> TYPE =
-        new Type<ChangedSubscriptionsEventHandler>();
-
-    @Override
-    @Nonnull
-    public Type<ChangedSubscriptionsEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    @Override
-    protected void dispatch(@Nonnull final ChangedSubscriptionsEventHandler handler) {
-        handler.onChangedSubscriptions(this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEventHandler.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEventHandler.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEventHandler.java
deleted file mode 100644
index b3860b9..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/ChangedSubscriptionsEventHandler.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface ChangedSubscriptionsEventHandler extends EventHandler {
-    void onChangedSubscriptions(ChangedSubscriptionsEvent event);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEvent.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEvent.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEvent.java
deleted file mode 100644
index 1a8e370..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEvent.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class GoToBrowserEvent extends GwtEvent<GoToBrowserEventHandler> {
-    public static final Type<GoToBrowserEventHandler> TYPE = new Type<GoToBrowserEventHandler>();
-
-    @Override
-    @Nonnull
-    public Type<GoToBrowserEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    @Override
-    protected void dispatch(@Nonnull final GoToBrowserEventHandler handler) {
-        handler.onGoToBrowser(this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEventHandler.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEventHandler.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEventHandler.java
deleted file mode 100644
index 22b3785..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToBrowserEventHandler.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface GoToBrowserEventHandler extends EventHandler {
-    void onGoToBrowser(GoToBrowserEvent event);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEvent.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEvent.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEvent.java
deleted file mode 100644
index cd4225d..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEvent.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class GoToEditCriteriaEvent extends GwtEvent<GoToEditCriteriaEventHandler> {
-    public static final Type<GoToEditCriteriaEventHandler> TYPE = new Type<GoToEditCriteriaEventHandler>();
-
-    @Override
-    @Nonnull
-    public Type<GoToEditCriteriaEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    @Override
-    protected void dispatch(@Nonnull final GoToEditCriteriaEventHandler handler) {
-        handler.onGoToEditCriteria(this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEventHandler.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEventHandler.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEventHandler.java
deleted file mode 100644
index e968057..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToEditCriteriaEventHandler.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface GoToEditCriteriaEventHandler extends EventHandler {
-    void onGoToEditCriteria(GoToEditCriteriaEvent event);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEvent.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEvent.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEvent.java
deleted file mode 100644
index b66c8c2..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEvent.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class GoToSettingsEvent extends GwtEvent<GoToSettingsEventHandler> {
-    public static final Type<GoToSettingsEventHandler> TYPE = new Type<GoToSettingsEventHandler>();
-
-    @Override
-    @Nonnull
-    public Type<GoToSettingsEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    @Override
-    protected void dispatch(@Nonnull final GoToSettingsEventHandler handler) {
-        handler.onGoToSettings(this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEventHandler.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEventHandler.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEventHandler.java
deleted file mode 100644
index c6ad797..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/GoToSettingsEventHandler.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface GoToSettingsEventHandler extends EventHandler {
-    void onGoToSettings(GoToSettingsEvent event);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEvent.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEvent.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEvent.java
deleted file mode 100644
index ff4684a..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class SelectedSubscriptionEvent extends GwtEvent<SelectedSubscriptionEventHandler> {
-    public static final Type<SelectedSubscriptionEventHandler> TYPE =
-        new Type<SelectedSubscriptionEventHandler>();
-
-    private final String url;
-
-    public SelectedSubscriptionEvent(String url) {
-        this.url = url;
-    }
-
-    @Override
-    @Nonnull
-    public Type<SelectedSubscriptionEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    @Override
-    protected void dispatch(@Nonnull final SelectedSubscriptionEventHandler handler) {
-        handler.onSelectedSubscription(this);
-    }
-
-    public String getUrl() {
-        return url;
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEventHandler.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEventHandler.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEventHandler.java
deleted file mode 100644
index c406586..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/event/SelectedSubscriptionEventHandler.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface SelectedSubscriptionEventHandler extends EventHandler {
-    void onSelectedSubscription(SelectedSubscriptionEvent event);
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/AbstractCallback.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/AbstractCallback.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/AbstractCallback.java
deleted file mode 100644
index a28e6d6..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/AbstractCallback.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.service;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.http.client.Request;
-import com.google.gwt.http.client.RequestCallback;
-import com.google.gwt.http.client.Response;
-
-//TODO Remove - this class is useless
-public abstract class AbstractCallback<T> implements RequestCallback {
-    private static final int OK = 200;
-
-    public void onResponseReceived(@Nonnull final Request request, @Nonnull final Response response) {
-        if (OK == response.getStatusCode()) {
-            onSuccess(parse(response));
-        } else {
-            
-            // TODO add custom exception
-            onError(request, new RuntimeException("Undefined remote service error"));
-        }
-    }
-
-    public void onError(final Request request, final Throwable ex) {
-
-        // TODO add custom exception
-        throw new RuntimeException(ex);
-    }
-
-    public abstract void onSuccess(T obj);
-
-    protected abstract T parse(Response response);    
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Entry.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Entry.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Entry.java
deleted file mode 100644
index 5362fbf..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Entry.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.service.browser;
-
-import java.util.Date;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.i18n.client.DateTimeFormat;
-import com.google.gwt.xml.client.Element;
-import com.google.gwt.xml.client.Node;
-import com.google.gwt.xml.client.NodeList;
-
-import static com.google.gwt.xml.client.Node.ELEMENT_NODE;
-import static com.google.gwt.xml.client.Node.TEXT_NODE;
-
-/**
- * The class represents log record, which is parsed from DOM representation of {@link LogRecord}.
- * <p/>
- * Log record is single piece of information log by logger. For example:
- * <code>
- * <p/>
- * </code>
- *
- * @see FeedProxy
- */
-public class Entry {
-
-    /**
-     * short message
-     */
-    private String title;
-
-    /**
-     * long message
-     */
-    private String message;
-
-    /**
-     * level: 'DEBUG', 'INFO', 'WARN', 'ERROR'
-     */
-    private String level;
-
-    /**
-     * error message and stack trace related with occured exception
-     */
-    private String throwable;
-
-    /**
-     * date of occured
-     */
-    private Date eventTimestamp;
-
-    @Nonnull
-    private final LazyXmlParser xmlParser;
-
-    /**
-     * Constructs a new <code>Entry</code> by convert DOM representation.
-     *
-     * @param entryNode XML node which represent entry (nonnull);
-     */
-    public Entry(@Nonnull final Node entryNode) {
-        xmlParser = new LazyXmlParser(entryNode);
-    }
-
-    /**
-     * Returns short message of the log record.
-     *
-     * @return short message (nonull)
-     */
-    @Nonnull
-    public String getTitle() {
-        if (title == null) {
-            title = avoidNull(xmlParser.getTitle());
-        }
-        return title;
-    }
-
-    /**
-     * Returns long message of the log record.
-     *
-     * @return long message (nonull)
-     */
-    @Nonnull
-    public String getMessage() {
-        if (message == null) {
-            message = avoidNull(xmlParser.getMessage());
-        }
-        return message;
-    }
-
-    /**
-     * Returns level of the log record. Possible values: 'DEBUG', 'INFO', 'WARN', 'ERROR'.
-     *
-     * @return level (nonull)
-     */
-    @Nonnull
-    public String getLevel() {
-        if (level == null) {
-            level = avoidNull(xmlParser.getLevel());
-        }
-
-        return level;
-    }
-
-    /**
-     * Returns error message and stack trace related with occured exception.
-     *
-     * @return error message and stack trace (nonull)
-     */
-    @Nonnull
-    public String getThrowable() {
-        if (throwable == null) {
-            throwable = avoidNull(xmlParser.getThrowable());
-        }
-        return throwable;
-    }
-
-    @Nullable
-    public Date getEventTimestamp() {
-        if (eventTimestamp == null) {
-            eventTimestamp = xmlParser.getEventTimestamp();
-        }
-        return eventTimestamp != null ? (Date)eventTimestamp.clone() : null;
-    }
-
-    @Nonnull
-    private String avoidNull(@Nullable final String value) {
-        return value != null ? value : "";
-    }
-
-    private static class LazyXmlParser {
-        private static final String TITLE_TAG = "title";
-        private static final String MESSAGE_TAG = "message";
-        private static final String LEVEL_TAG = "level";
-        private static final String THROWABLE_TAG = "throwable";
-        private static final String EVENT_TIMESTAMP_TAG = "date";
-
-        private static final DateTimeFormat DATETIME_FORMATTER =
-            DateTimeFormat.getFormat("yyyy-MM-ddTHH:mm:ss'.'SSSZ");
-
-        @Nonnull
-        private final Node entryNode;
-
-        LazyXmlParser(@Nonnull final Node entryNode) {
-            assert "entry".equals(entryNode.getNodeName());
-            assert entryNode.getNodeType() == ELEMENT_NODE;
-
-            this.entryNode = entryNode;
-        }
-
-        @Nullable
-        private String getTagValue(@Nonnull final String tagName) {
-            Node node = getUniqueElementByTagName(tagName);
-
-            return node != null ? getTextValue(node) : null;
-        }
-
-        @Nullable
-        private Node getUniqueElementByTagName(@Nonnull final String tagName) {
-            NodeList nodes = ((Element)entryNode).getElementsByTagName(tagName);
-            return nodes.getLength() == 1 ? nodes.item(0) : null;
-        }
-
-        @Nullable
-        private String getTextValue(@Nonnull final Node node) {
-            Node child = node.getFirstChild();
-
-            if (child != null && child.getNodeType() == TEXT_NODE) {
-                return child.getNodeValue();
-            }
-
-            return null;
-        }
-
-        @Nullable
-        public String getTitle() {
-            return getTagValue(TITLE_TAG);
-        }
-
-        @Nullable
-        public String getMessage() {
-            return getTagValue(MESSAGE_TAG);
-        }
-
-        @Nullable
-        public String getLevel() {
-            return getTagValue(LEVEL_TAG);
-        }
-
-        @Nullable
-        public String getThrowable() {
-            return getTagValue(THROWABLE_TAG);
-        }
-
-        @Nullable
-        public Date getEventTimestamp() {
-            String value = getTagValue(EVENT_TIMESTAMP_TAG);
-            return value != null ? DATETIME_FORMATTER.parse(value) : null;
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Feed.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Feed.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Feed.java
deleted file mode 100644
index 65d1d04..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/Feed.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.service.browser;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.xml.client.Document;
-import com.google.gwt.xml.client.Node;
-import com.google.gwt.xml.client.NodeList;
-
-import static com.google.gwt.xml.client.Node.ELEMENT_NODE;
-
-public class Feed {
-    public static final Feed EMPTY = new Feed();
-
-    @Nonnull
-    private final List<Entry> entries;
-
-    @Nonnull
-    private final Links links;
-
-    private Feed() {
-        entries = new ArrayList<Entry>();
-        links = Links.EMPTY;
-    }
-
-    public Feed(@Nonnull final Document document) {
-        entries = new ArrayList<Entry>();
-        new XmlParser().parseEntries(document);
-
-        links = new Links(document);
-    }
-
-    @Nonnull
-    public List<Entry> getEntries() {
-        return entries;
-    }
-
-    @Nonnull
-    public Links getLinks() {
-        return links;
-    }
-
-    private final class XmlParser {
-        private static final String ENTRY_TAG = "entry";
-
-        private XmlParser() {
-        }
-
-        private void parseEntries(@Nonnull final Document document) {
-            NodeList entryNodes = document.getElementsByTagName(ENTRY_TAG);
-
-            if (entryNodes != null) {
-                Node entryNode;
-                for (int i = 0; i < entryNodes.getLength(); i++) {
-                    entryNode = entryNodes.item(i);
-                    assert entryNode != null;
-                    
-                    if (entryNode.getNodeType() == ELEMENT_NODE) {
-                        entries.add(new Entry(entryNodes.item(i)));
-                    }
-                }
-                Collections.reverse(entries);
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxy.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxy.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxy.java
deleted file mode 100644
index 2bb147d..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxy.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.service.browser;
-
-import com.google.gwt.http.client.RequestCallback;
-
-public interface FeedProxy {
-    void getFeed(String url, RequestCallback callback);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxyImpl.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxyImpl.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxyImpl.java
deleted file mode 100644
index 124b377..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FeedProxyImpl.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.service.browser;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.http.client.RequestBuilder;
-import com.google.gwt.http.client.RequestCallback;
-import com.google.gwt.http.client.RequestException;
-import com.google.gwt.http.client.Response;
-import com.google.gwt.xml.client.Document;
-import com.google.gwt.xml.client.XMLParser;
-
-import static com.google.gwt.http.client.RequestBuilder.GET;
-import static com.google.gwt.http.client.RequestBuilder.Method;
-
-import org.apache.cxf.management.web.browser.client.service.AbstractCallback;
-
-public class FeedProxyImpl implements FeedProxy {
-    private static final String CONTENT_TYPE_HEADER = "Content-Type";
-    private static final String ACCEPT_HEADER = "Accept";
-    private static final String ATOM_TYPE = "application/atom+xml";
-
-    public void getFeed(@Nonnull final String url, @Nonnull final RequestCallback callback) {
-        RequestBuilder builder = buildRequest(GET, url);
-
-        try {
-            builder.sendRequest(null, callback);
-        } catch (RequestException ex) {
-
-            // TODO add custom exception
-            throw new RuntimeException(ex);
-        }
-    }
-
-    @Nonnull
-    private RequestBuilder buildRequest(@Nonnull final Method method, @Nonnull final String url) {
-        assert !"".equals(url);
-        
-        RequestBuilder builder = new RequestBuilder(method, url);
-        builder.setHeader(CONTENT_TYPE_HEADER, ATOM_TYPE);
-        builder.setHeader(ACCEPT_HEADER, ATOM_TYPE);
-
-        return builder;
-    }
-
-    public abstract static class Callback extends AbstractCallback<Feed> {
-        
-        @Override @Nonnull
-        protected Feed parse(@Nonnull final Response response) {
-            Document document = convertFromXML(response);
-            if (document != null) {
-                return new Feed(document);
-            } else {
-                return Feed.EMPTY;
-            }
-        }
-
-        @Nullable
-        private Document convertFromXML(@Nonnull final Response response) {
-            if (response.getText() != null) {
-                return XMLParser.parse(response.getText());
-            } else {
-                return null;
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FilterOptions.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FilterOptions.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FilterOptions.java
deleted file mode 100644
index 75de309..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/service/browser/FilterOptions.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.management.web.browser.client.service.browser;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-public class FilterOptions {
-    public enum Level {
-        DEBUG, INFO, WARN, ERROR
-    }
-
-    public static final FilterOptions EMPTY = new FilterOptions();
-
-    @Nullable private String phrase;
-    @Nullable private Date from;
-    @Nullable private Date to;
-    @Nonnull private List<Level> levels;
-
-    private FilterOptions() {
-        this.levels = new ArrayList<Level>();
-    }
-
-    public FilterOptions(@Nullable String phrase, @Nullable Date from,
-                         @Nullable Date to, @Nonnull List<Level> levels) {
-        this.phrase = phrase;
-        this.from = from;
-        this.to = to;
-        this.levels = levels;
-    }
-
-    @Nullable
-    public String getPhrase() {
-        return phrase;
-    }
-
-    @Nullable
-    public Date getFrom() {
-        return from;
-    }
-
-    @Nullable
-    public Date getTo() {
-        return to;
-    }
-
-    @Nonnull
-    public List<Level> getLevels() {
-        return levels;
-    }
-}