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

org.uberfire.client.exporter.UberfireJSAPIExporter Maven / Gradle / Ivy

package org.uberfire.client.exporter;

import java.util.Collection;
import javax.enterprise.context.ApplicationScoped;

import org.jboss.errai.ioc.client.api.AfterInitialization;
import org.jboss.errai.ioc.client.container.IOC;
import org.jboss.errai.ioc.client.container.IOCBeanDef;

@ApplicationScoped
public class UberfireJSAPIExporter {

    @AfterInitialization
    public void export() {
        Collection> jsAPIs = IOC.getBeanManager().lookupBeans( UberfireJSExporter.class );
        for ( IOCBeanDef bean : jsAPIs ) {
            UberfireJSExporter jsAPI = bean.getInstance();
            jsAPI.export();
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy