Package gov.nasa.arc.mct.platform.spi

Examples of gov.nasa.arc.mct.platform.spi.DefaultComponentProvider


    private AbstractComponent createComponent(String componentTypeId)
    throws InstantiationException, IllegalAccessException {
        ExtendedComponentTypeInfo type = availableComponents.get(componentTypeId);
        Class<? extends AbstractComponent> c;
        if (type == null) {
            DefaultComponentProvider provider = PlatformAccess.getPlatform().getDefaultComponentProvider();
            c = provider.getBrokenComponent();
            LOGGER.error("unable to find class for component " + componentTypeId + " this is likely caused by a missing bundle");
        } else {
            c = type.getComponentClass();
        }
        AbstractComponent component =  c.newInstance();
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.platform.spi.DefaultComponentProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.