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

org.jboss.as.console.client.core.StandaloneGateKeeper 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.core;

import com.gwtplatform.mvp.client.proxy.Gatekeeper;

import javax.inject.Inject;
import javax.inject.Singleton;

/**
 * @author Heiko Braun
 * @date 1/26/12
 */
@Singleton
public class StandaloneGateKeeper implements Gatekeeper {


    private final BootstrapContext bootstrapContext;

    @Inject
    public StandaloneGateKeeper(final BootstrapContext bootstrapContext) {
        this.bootstrapContext = bootstrapContext;
    }

    @Override
    public boolean canReveal() {
        return bootstrapContext.isStandalone();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy