All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.console.client.ConsoleFramework Maven / Gradle / Ivy

Go to download

Bundles the core AS7 console as a GWT module. Includes minor customizations to support extensions.

There is a newer version: 0.7.0.Final
Show newest version
package org.jboss.as.console.client;

import com.google.gwt.autobean.shared.AutoBeanFactory;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;
import com.gwtplatform.mvp.client.proxy.PlaceManager;
import org.jboss.as.console.client.shared.BeanFactory;
import org.jboss.ballroom.client.spi.Framework;

/**
 * @author Heiko Braun
 * @date 7/12/11
 */
public class ConsoleFramework implements Framework {

    private final static BeanFactory factory = GWT.create(BeanFactory.class);

    @Override
    public EventBus getEventBus() {
        return Console.MODULES.getEventBus();
    }

    @Override
    public PlaceManager getPlaceManager() {
        return Console.MODULES.getPlaceManager();
    }

    @Override
    public AutoBeanFactory getBeanFactory() {
        return factory;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy