Package org.mc4j.ems.connection.support.metadata

Examples of org.mc4j.ems.connection.support.metadata.ConnectionTypeDescriptor


        }
        if (!(ConnectionTypeDescriptor.class.isAssignableFrom(connectionTypeDescriptorClass))) {
            throw new InvalidPluginConfigurationException("Invalid connection type - class [" + connectionTypeDescriptorClassName
                + "] does not implement the " + ConnectionTypeDescriptor.class.getName() + " interface.");
        }
        ConnectionTypeDescriptor connectionTypeDescriptor;
        try {
            connectionTypeDescriptor = (ConnectionTypeDescriptor) connectionTypeDescriptorClass.newInstance();
        } catch (Exception e) {
            throw new RuntimeException("Failed to instantiate connection type descriptor of type [" + connectionTypeDescriptorClassName + "].", e);
        }
View Full Code Here

TOP

Related Classes of org.mc4j.ems.connection.support.metadata.ConnectionTypeDescriptor

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.