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

net.openesb.management.jmx.utils.SharedLibraryConverter Maven / Gradle / Ivy

package net.openesb.management.jmx.utils;

import com.sun.jbi.ui.common.JBIComponentInfo;
import net.openesb.model.api.SharedLibrary;

/**
 *
 * @author David BRASSELY (brasseld at gmail.com)
 * @author OpenESB Community
 */
public class SharedLibraryConverter {
    
    public static SharedLibrary convert(JBIComponentInfo source) {
        SharedLibrary library = new SharedLibrary();
        
        library.setName(source.getName());
        library.setDescription(source.getDescription());
        library.setBuildNumber(source.getBuildNumber());
        library.setVersion(source.getComponentVersion());
        
        return library;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy