org.jboss.as.console.client.ConsoleFramework Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of switchyard-console-as7-core
Show all versions of switchyard-console-as7-core
Bundles the core AS7 console as a GWT module. Includes minor customizations to support extensions.
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;
}
}